Rails application which handles the secret santa operations for an organiser of a secret santa.
The Frontier Group's Rails Template.
- Redis
- Sidekiq
- PostgreSQL
This project now requires docker. So install that, along with docker-compose, if your OS doesn't come with the docker-compose toolchain.
After cloning the repo, cd into the project and run:
docker build -t secretsanta-web .
Once built, execute docker-compose up
.
The application should now be running and available on http://localhost:5000
Similar to getting the environment up for development, testing follows a similar pattern.
Setup your testing docker container:
docker build --file Dockerfile-tests -t secretsanta-testing .
Run the compose file:
docker-compose --file docker-compose-testing.yml run rspec
The above will run your entire test suite, so you can use it, for example on CI.