Skip to content

ForrestLonganecker/HangTrainer

Repository files navigation

Welocome to my Hangboard training app!

If you would like to see the deployed version please follow the link below

HangTrainer demo


To run:

First clone the repo


create a .env file in the root-directory of the app:

$ touch .env

add a cookieSecret to that file ie:

cookieSecret="something you want here"


Bootstrap the database:

  1. install postgreSQL Homebrew(mac/linux)
    postgreSQL interactive installer(windows)

  2. create the database: $ createdb -U postgres -w hangtrainer-dev

  3. run the migrations: $ sequelize db:migrate


To run:

  • $ npm run dev

To run tests:

Install jasmine:

  • $ npm i --save-dev jasmine

Then:

  • $ npm run test