Building an App from Source

You can deploy an App Studio search app as:

  • A WAR file for deployment to an external servlet container, e.g. Apache Tomcat.

  • A standalone app for deployment to a production server. The standalone app embeds an Apache Tomcat servlet container.

Prerequisite software

Install prerequisite software:

  • Java 8 JDK or aboveDownload and install the Oracle Java SE JDK 8 or newer for Windows or Linux (it comes pre-installed on Macs).

  • Node.js 8 or aboveDownload and install Node.js 8 or newer.

  • NPM – Mode Package Manager is included with Node.js.

Package for deployment to a servlet container

Package your app as a WAR file for deployment to an external servlet container, e.g. Apache Tomcat.

To package your app

Unix or MacOS:

./app-studio package

Windows:

app-studio.bat package

Package as a standalone app

Package your app as a standalone app for deployment to a production server. The standalone app embeds an Apache Tomcat servlet container.

Unix or MacOS:

./app-studio dist

Windows:

app-studio.bat dist