Prerequisites
- Node.js 16.4.2 (You can install via NVM)
- Postgresql 13
- Setup Postgresql
cd db
1.1 Change the database password in install.sql file 1.2 run the setup.sh file
bash setup.sh
- Installing all dependencies
npm ci
- Runing
SERPMASTER_USERNAME='[YOUR_USERNAME]' SERPMASTER_PASSWORD='[YOUR_PASSWORD]' DATABASE_PASSWORD='[YOUR_PASSWORD]' node server.js
Running in background. It returns the processId
nohup SERPMASTER_USERNAME=[YOUR_USERNAME] SERPMASTER_PASSWORD=[YOUR_PASSWORD] node server.js &
For killing process
kill -9 processId