Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 730 Bytes

README.md

File metadata and controls

36 lines (31 loc) · 730 Bytes

Cxcvb Backend

Installation

Prerequisites

  • Node.js 16.4.2 (You can install via NVM)
  • Postgresql 13
  1. Setup Postgresql
  cd db

1.1 Change the database password in install.sql file 1.2 run the setup.sh file

  bash setup.sh
  1. Installing all dependencies
  npm ci
  1. Runing
  SERPMASTER_USERNAME='[YOUR_USERNAME]' SERPMASTER_PASSWORD='[YOUR_PASSWORD]' DATABASE_PASSWORD='[YOUR_PASSWORD]' node server.js

Additional

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