- Install dependencies:
bundle install
- Create a postgres instance:
docker-compose up -d
- Migrate the database:
bundle exec rake db:migrate
- Seed the database:
bundle exec rake db:seed
- Start the webserver:
bundle exec rackup
orbundle exec shotgun config.ru --port 9292
You'll now have a front end available at localhost:9292/app where you can test the routes.
- Run the tests:
bundle exec rspec -f d