A chess tournament tracking application
NOTE: this is work in progress, thus the requirements are yet to be set.
- Ruby 2.3
- Rails 4.x
- edit config/initializers/devise.rb
- setup your apache configuration with ENV variables for:
CHESS_ADMIN_EMAIL
GITHUB_APP_ID
GITHUB_APP_SECRET
TWITTER_APP_ID
TWITTER_APP_SECRET
FACEBOOK_APP_ID
FACEBOOK_APP_SECRET
GPLUS_APP_ID
GPLUS_APP_SECRET
TWITCH_APP_ID
TWITCH_APP_SECRET
SECRET_KEY_BASE
- edit the mailer domain in config/environments/production.rb
- if using Capistrano to deploy your app, your path will be /srv/web/apps/chess-tournaments/current/public
When creating players we default to images from Gravatar if the image link is not defined or left blank.
These are a few considerations to keep in mind when working in RAILS_ENV=development.
- launch server:
rails s - choose "Create local account" from drop-down menu
- verify your email following the user from log/development.log. i.e.:
http://localhost:3000/users/confirmation?confirmation_token=SECRET_STRING - using the terminal, go into the Rails Console:
rails console - select the user you created and made it admin
u = User.last
u.admin
u.save
- fork on github
- edit
- pull request