Packaging and Deploying Web Applications

Use the Oracle JET tooling framework and third-party tools to package your Oracle JET web application and deploy it to any type of web or application server.

Packaging Web Applications

Use Grunt to create a release version of your application containing your application scripts and applicable Oracle JET code in minified format.

  1. From a terminal prompt in your application’s root directory, enter the following command: grunt build:release.

    The command will take some time to complete. When it’s successful, you’ll see the following message: Done.

    The command replaces the development version of the libraries and scripts in web/js/ with minified versions where available.

  2. To verify that the application still works as you expect, run grunt serve with the release option.

    The grunt serve:release command takes the same arguments that you used to serve your web application in development mode.

    grunt serve:release [--serverPort=server-port-number --livereloadPort=live-reload-port-number --disableLiveReload=true]

Deploying Web Applications

Oracle JET is a collection of HTML, JavaScript, and CSS files that you can deploy to any type of web or application server. There are no unique requirements for deploying Oracle JET applications.

Deployment methods are quite varied and depend upon the type of server environment your application is designed to run in. However, you should be able to use the same method for deploying Oracle JET applications that you would for any other client interface in your specific environment.

For example, if you normally deploy applications as zip files, you can zip the web directory and use your normal deployment process.