PM2 will daemonize your application and run it on a cluster of servers.
Note. You need to build TeleDrive with manual installation until the build workspaces step in cloud machine like Droplets in DigitalOcean, EC2 in AWS, Compute Engine in Google Cloud Platform, etc.
Get started by installing all needed services.
What you'll need
PM2 version 5.2.0 or above:
Install globally with npm:
npm i -g pm2
Daemonize the running application with PM2:
pm2 start dist/index.js --name teledrive
View the logs with PM2:
pm2 log teledrive
Restart the service with:
pm2 restart teledrive
Next, you need to reverse proxy the application to your domain with Nginx.