Startup and Shutdown

Before starting App Studio, verify that Fusion Server is running and that it has one or more collections of indexed data.

Run App Studio at the command line from the app-studio directory, like this:

Unix Windows

Start the server

./app-studio.sh start

Options:

  • --production

    Run the server in production mode.

  • --extraJvmArguments

    Space character-delimited additional JVM arguments; multiple arguments must be quoted. Example: "-Xms2G -Xmx5G"

  • -p or --port

    The port on which to run the server.

  • -s or --stop-port

    The port to use when issuing the stop command; it must be re-specified when running stop.

app-studio-start.bat

Stop the server

./app-studio.sh stop

Optionally:

  • -s or --stop-port

    The port to use when issuing the stop command.

app-studio-standalone-stop.bat

Restart the server

./app-studio.sh restart

app-studio-stop.bat
app-studio-start.bat

Get the server status

./app-studio.sh status

Starting and stopping multiple App Studio instances

You can run multiple instances of App Studio on a single host by specifying different ports for all instances. Do this on startup, at the command line, using the -p parameter, for example:

./app-studio.sh start -p 9000

When running multiple instances, also use the -p flag to indicate which instance of App Studio to shut down, for example:

./app-studio.sh stop -p 9000

Starting in production mode

App Studio’s standalone mode can be used for small production deployments, by starting in production mode.

Production mode disables the configuration wizard and the code editor.

To use standalone mode in a production environment, start App Studio with the --production flag:

./app-studio-standalone.sh start --production

What’s next