Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.2 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.2 KB

trouble-maker

This README outlines the details of collaborating on this Ember application. This is the backend application to trouble-maker-frontend

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd trouble-maker
  • yarn install

Setup For Development Environment

  • yarn run sq db:create To create a postgres user with the name 'troublemaker' and a database with the same name, as mentioned in config/config.js.
  • run node index.js ( for sync db ) and open new tab to run bellow command
  • yarn run sq db:seed:all to run all the seed files. You now have a dummy user in your database

Further Reading / Useful Links

  • To setup a user role and a database in postgres, refer to this article
  • To populate your database and run seed files, refer to this article