CB Placements web portal for jobs and internships
Please ensure you have the latest version of Nodejs and Node Package Manager (NPM) installed
git clone https://github.com/coding-blocks/hiring-blocks
cd hiring-blocks
npm install
Install Postgres, and use the following commands to setup the database and new role. The following commands are written as per the default configuration specified in secrets.json. You can change secrets.json to fit your preferences and modify the commands accordingly.
createdb hb
createuser cbuser
psql cbuser
Once the psql shell comes up, change the password for the role 'cbuser' by typing the following
\password cbuser
Enter "cbpass" (without quotes) to change the password to "cbpass" for the role "cbuser". Then, type \quit to exit the shell.
npm start