Skip to content

Latest commit

 

History

History
31 lines (28 loc) · 1.03 KB

README.md

File metadata and controls

31 lines (28 loc) · 1.03 KB

Hiring Blocks

Heroku

CB Placements web portal for jobs and internships

Setup

Clone the repository and install node packages

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

Configure the Database

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.


Running the app

npm start