This project is a Rails application for secret santa. It currently allows users to login via facebook, create a group, invite friends and draw the group.
To run this project you need to have:
- Ruby 2.2.2 - You can use RVM
- PostgreSQL
- OSX - Postgress.app
- Linux -
$ sudo apt-get install postgresql
- Windows - PostgreSQL for Windows
- Install the dependencies above
$ git clone <REPOSITORY_URL> hehastwoeyes
- Clone the project$ cd hehastwoeyes
- Go into the project folder$ bin/setup
- Run the setup script$ bin/rspec
- Run the specs to see if everything is working fine- We are using the Figaro gem to configure env variables. You must set: Figaro.env.facebook_key, Figaro.env.facebook_secret and Figaro.env.facebook_callback_url. DO NOT commit your application.yml file
If everything goes OK, you can now run the project!
$ bundle exec foreman start
- Opens the server- Open http://localhost:3000
$ bundle exec rake spec
to run the specs.
$ coverage=on bundle exec rake spec
to generate the coverage report then open the file coverage/index.html
on your browser.
Generated with PAH, an open source project created and maintained by HE:labs.
See CONTRIBUTING.MD