Step 6: Start the application

When you import (clone) the application source code into the server, follow the steps below to start the application.

  1. Go back to Status tab

  2. Click Sync status with all apps on the top bar

You can also sync the status individually for each application by clicking Status sync button on the footer of each application card

Once the sync is complete, ClusterWare will discover that the node_modules folder doesn't exist. It will indicate that with a red icon in Node modules section.

  1. Click NPM Install button for each application

When ClusterWare successfully finishes installing your modules, it will indicate that in the Node modules section with a green icon.

  1. Now you can click Start button

Once the applications are started you'll see a list of instances for each application including the port number on which the application is listening for requests.

At this point your server should be responding to incoming requests. You can verify that by accessing your server url on one of the application ports:

  • app-server-1.demo.clusterware.io:8000

  • app-server-1.demo.clusterware.io:8001

  • app-server-2.demo.clusterware.io:9000

  • app-server-2.demo.clusterware.io:9001

Please note your server URLs will be different.

You can also use an option to Deploy a single application or Deploy all apps to run all the above actions in one click

Last updated