Shut Down App Studio

Version 4.1 and later

App Studio has two scripts for startup and shutdown in the root directory of an App Studio project (app-studio):

  • app-studio.sh – A Bash script for Linux and macOS

  • app-studio.bat – A batch file for Windows

You also use these scripts to build an app from source.

Obtain usage information about the scripts

For usage information, enter:

  • Linux and macOS: ./app-studio.sh -help

  • Windows: app-studio.bat -help

For command-specific usage information, enter:

  • Linux and macOS: ./app-studio command -help

  • Windows: app-studio.bat command -help

Below, optional parameters are indicated by square brackets, which you don’t type.

Shutdown commands

  • Linux and macOS: ./app-studio stop [-p port] [-V]

  • Windows: app-studio.bat stop [-p port] [-V]

Parameters

Bold italic text is a placeholder for a value. For example, for -m memory you might use -m 4g.

Parameter Description

-p port

Specify the port on which the App Studio web server will listen. The default port is 8080.

-V

Output verbose messages from the script.

Stopping multiple App Studio instances

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

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

Version 4.0

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

=============================================

== What’s next

* See Create a New Web App to learn how to create your first search app.