Developer Guide
The WebLogic Kubernetes Toolkit UI is a desktop application designed to help WebLogic users move their applications to run in a Kubernetes environment.
Setting up your development environment
-
Download and install the latest LTS version of
node.jsfrom https://nodejs.org/en/download/ . -
If you rely on a proxy server to reach the Internet, set these five environment variables to configure the proxy correctly:
-
Open a command line and run the following command to update the version of
npmto the latest: -
Set up your global git configuration by running the following commands:
This last command is critical if you are developing on either Windows or macOS. Yes, the macOS file system is, by default, case-insensitive!
-
Clone the git repository on GitHub at https://github.com/oracle/weblogic-toolkit-ui .
-
Open a command line in the
weblogic-toolkit-uidirectory and runnpm installto download and install the JavaScript dependencies required by the project. -
Open a command line in the
weblogic-toolkit-ui/electrondirectory and runnpm run install-tools. -
Open a command line in the
weblogic-toolkit-ui/webuidirectory and runnpm start. -
After the server from the previous step is fully running, open a command line in the
weblogic-toolkit-ui/electrondirectory and runnpm start.
Building a Windows or macOS installer
- Set up your development environment and verify that the application is working properly from it.
- Open a command line in the
weblogic-toolkit-ui/electrondirectory and runnpm run build. - Find the executable and installer(s) in the
weblogic-toolkit-ui/distdirectory.
Building a Linux installer
- Set up your development environment and verify that the application is working properly from it.
- Open a command line in the
weblogic-toolkit-ui/webuidirectory and runnpm run build:release. - From the command line in the
weblogic-toolkit-ui/scriptsdirectory, run./devBuildLinuxInstallers.sh. - Find the executable and installer(s) in the
weblogic-toolkit-ui/distdirectory.