Skip to content

Prepare a Node.js application

Register the runtime, application root and URL supplied by your developer.

Where Tools → Software → Setup Node.js App → Create application

Before you start

  • Have a deployable application, its startup filename and dependency instructions.
  • Choose a currently maintained runtime supported by both the app and host. The default version offered is not a recommendation.

Steps

  1. 1

    Choose the required Node.js version and Application mode. Use the developer’s production configuration for a live app.

  2. 2

    Enter Application root, the directory containing the application files, and choose Application URL, the domain and optional URL path visitors will use. These are different locations.

  3. 3

    Review the domain, folder and version before Create. Then follow the application’s instructions for uploading files and installing dependencies using the controls offered for that app.

  4. 4

    Start/restart only when the application is ready. Check its output/logs if it fails; repeatedly restarting does not fix missing dependencies or an incorrect startup path.

  5. 5

    Open Setup Node.js App and click Create application.

    The application list is the starting point.
  6. 6

    Enter the exact Application startup file. Use Add variable for required environment variables, keeping secrets out of screenshots and public source files.

    Review runtime, root, public URL and startup file before Create.

Check it worked

  • Open the intended URL and test an application-specific response.
  • Confirm background work and required environment variables function without exposing their values.