G
G
Gaio Documentation
English
Search
K
Comment on page

Gaio startup

Step by step

  1. 1.
    Log in to the server where Gaio is installed with the user who installed the platform. Important: The root user is not commonly used to install Gaio or to start it.
  2. 2.
    Apply the entire command below to launch Gaio.
cd three-deploy; pm2 start server/main.js -i 2 ;
The last command applied starts Gaio . The last value of the sentence defines how many cores will be allocated for use. In the example below, only 2 cores of the machine will be available.
pm2 start server/main.js -i 2;
Clickhouse database uses 2 cores by default, so on a 4vCPU machine the ideal is to make an equal distribution.