Standalone Mode

Standalone mode is what you get when you run the app-studio or app-studio.bat script. This deployment type is useful for:

  • Evaluating App Studio

  • Developing and demonstrating your Web apps

  • Small production environments (see Enabling production mode below)

Standalone deployment

Standalone deployment

Standalone mode installation

  1. Download App Studio.

  2. Copy the App Studio zip file to any convenient path.

  3. Expand the archive: unzip app-studio-4.1.x-zip-package.zip

    This creates an app-studio directory.

Standalone mode startup

These commands start App Studio in its default mode, for development and demos. To start App Studio in production mode, see Enabling production mode below.

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

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

Enabling 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