aline-aline / secret-santa

Ruby on Rails Secret Santa Game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Secret Santa

This project is based on Secret Santa, a game which consists of exchanging gifts among friends.

The organizer provides all the email addresses, and the app randomly assigns a "presentee" to each person.

Each person will later receive an email with the information about the presentee.

Getting Started

Prerequisites

This app is docker based. To avoid extra configurations, you should have docker and docker-compose installed.

If you don't want to install these softwares, you will be able to use this app installing ruby (>= 2.3) and Postgresql (>= 9.5).

Installing

  • Clone this repo git clone https://github.com/aline-aline/secret-santa;
    • In the repo folder, run:
      • docker-compose build;
      • docker-compose run --rm app bundle exec rake db:create;
      • docker-compose run --rm app bundle exec rake db:migrate.

Running the tests

docker-compose run --rm app bundle exec rspec spec

Built With

Contributing

Want to contribute? Fork and send a pull request. Have any questions? Open an issue or contact me.

License

This project is licensed under the MIT License.

About

Ruby on Rails Secret Santa Game


Languages

Language:JavaScript 58.8%Language:CSS 33.2%Language:Ruby 5.7%Language:HTML 1.9%Language:CoffeeScript 0.4%