Building an App from Source

Before building and deploying an app, check the software requirements.

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

The WAR file for deployment is search-app.war in the app-name/dist directory.

Windows:

app-studio.bat package

The WAR file for deployment is search-app.war in the app-name\dist directory.

Note
If your search app is in Fusion Server, you can also package the app to a WAR file from Fusion Server.

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

Standalone app directory

Unix or MacOS:

The standalone app for deployment is in the app-name/search-app-standalone directory.

search-app-standalone/
	README.md
	app/
	build/
	config/
	keystore.jks
	lib
	search-app-start.bat
	search-app-stop.bat
	search-app-stop.ps1
	search-app.sh

Windows:

The standalone app for deployment is in the app-name\search-app-standalone directory.

search-app-standalone\
	README.md
	app\
	build\
	config\
	keystore.jks
	lib
	search-app-start.bat
	search-app-stop.bat
	search-app-stop.ps1
	search-app.sh