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/setupscript. - Run
bin/raketo 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_URLRACK_ENVRAILS_ENVREDIS_URLSECRET_KEY_BASE