-
Be sure to have postgres and yarn installed on your computer.
-
In Postgres run: create database nicknames OR In the terminal run: createdb nicknames
-
In the index.js file, change user (and password if necessary).
- From the base directory of this repository, run: yarn
- To create the database tables, run: yarn migrate
- To roll back migrations, run: yarn rollback
- To seed the database, run: yarn knex seed:run
- To test run, run: yarn test
- To launch the app, run: yarn start