Git Repo: https://github.com/asadasadabbas/contact-app.git
Setup Postgres Server:
- Download according to OS : https://www.postgresql.org/download/
- Install it.
- Assign username as 'postgres' and password whatever you prefer. Make sure to save the credentials, will be needing it in further process.
Setup project into a directory:
- Clone the project from the url
- Edit database.yml file with the username and password for the Postgres that was setup while installing Postgres
- Save database.yml file
- Terminal : cd <project_dir_name>
- Terminal : rake db:setup
- Terminal : bundle install
- Terminal: rails s
- Now the server would start locally. Navigate to the localhost link given in the terminal after running the last command.