Firstly, update your system to the latest version. You can do this by running the following command in the terminal:
Once the system is updated, you need to install Node.js, NVM, NPM and PM2 by running the following commands in the terminal:
To install the app change the directory to /var/www
Copy the jaycp.app source code to your Ubuntu server.
After, change the working directory to the app.
To install the app, run the following command in the terminal:
This will install all the dependencies required to run the app.