Deploying a Node.js app on a Linux/Unix production server, involves
- Transferring the app code to the server
- Push your code to a Git repository
- Login to your server, create a user for the app
- Install Git on the server
- Pull code
- Preparing the app’s environment
- Login as the app’s user
- Install app dependencies
- Configuring Nginx and Passenger
- Go back to the admin account
- Edit Nginx configuration file
- Test drive