Installation

How to install JayCP on an Ubuntu server.

Firstly, update your system to the latest version. You can do this by running the following command in the terminal:

sudo apt update

Once the system is updated, you need to install Node.js, NVM, NPM and PM2 by running the following commands in the terminal:

sudo apt install npm
sudo npm install -g pm2
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
exec $SHELL
nvm install --lts

Installing the app

To install the app change the directory to /var/www

cd /var/www

Copy the jaycp.app source code to your Ubuntu server.

After, change the working directory to the app.

cd jaycp.app

To install the app, run the following command in the terminal:

npm install

This will install all the dependencies required to run the app.