jgunnink / secret-santa

A ruby on rails application built to handle the organisation of a Secret Santa in a fun, simple way!
https://secretsantawebsite.herokuapp.com
Other
1 stars 1 forks source link

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

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.