/secret-santa

A ruby on rails application built to handle the organisation of a Secret Santa in a fun, simple way!

Primary LanguageRubyOtherNOASSERTION

Secret Santa

Rails application which handles the secret santa operations for an organiser of a secret santa.

Related Projects

The Frontier Group's Rails Template.

Dependencies

  • Redis
  • Sidekiq
  • PostgreSQL

Getting Started

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

Running the tests

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.