This README describes the purpose of this repository and how to set up a development environment.
This project requires either Option 1:
- Latest Docker engine installed
- docker-compose installed
or Option 2:
- Ruby 2.7.2, preferably managed using rbenv
- PostgreSQL must be installed and accepting connections
- Redis must be installed and running on localhost with the default port
If you need help setting up a Ruby development environment locally, check out this Rails OS X Setup Guide.
- Run
docker-compose build
- Run
docker-compose run rails rake db:setup
- Run
docker-compose up
- Run the
bin/setup
script. - Run
bin/rake
to run all tests and lint checks. - Run
yarn start
Access the app at http://localhost:3000/.
Ensure the following environment variables are set in the deployment environment:
DATABASE_URL
RACK_ENV
RAILS_ENV
REDIS_URL
SECRET_KEY_BASE