Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 891 Bytes

README.md

File metadata and controls

50 lines (33 loc) · 891 Bytes

README

Starting the application

To run the application using Docker, will need to have Docker installed on your machine. Get Docker

The first time you start the app, you will need to create a .env file. Copy the .env-example to .env

cp .env-example .env

Once Docker is installed and running:

docker compose up

The first time you start your app, you will need to create a database

docker compose run web rake db:create

You can view the app in the browser at http://localhost:3000/

Running the test suite

You can run the test suite from inside the web container

docker compose exec web bash
bundle exec rspec

Linting

This app has rubocop installed. To run linting inside the web container:

docker compose exec web bash
bundle exec rubocop