Step 6: Start the application
Last updated
Last updated
When you import (clone) the application source code into the server, follow the steps below to start the application.
Go back to Status tab
Click Sync status with all apps on the top bar
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.
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.
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.