Swing Out London 2.0 - a dance listings site. This is a rebuild from the ground up of http://www.swingoutlondon.co.uk. Original repo is here: https://github.com/dgmstuart/Swing-Out-London
Ruby CSS HTML JavaScript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
public
spec
vendor
.gitignore
.rubocop.yml
.rubocop_todo.yml
.ruby-version
Gemfile
Gemfile.lock
Procfile
README
README.md
Rakefile
config.ru

README.md

Codeship Status for dgmstuart/swingoutlondon2 SETUP

Secrets

Create a secrets.yml file for the following items as per these instructions: http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#config/secrets.yml

  • secret_key_base - generate with rake secret
  • devise_secret_key - generate with rake secret

If deploying to heroku run the following to set up the secret keys on production:

heroku config:set SECRET_KEY_BASE=`rake secret`
heroku config:set DEVISE_SECRET_KEY=`rake secret`

Database

  • Set up postgres
  • rake db:setup

Tests

Phantomjs

The feature specs which require javascript run using phantomjs. To install this on OSX:

brew install phantomjs

Running

bundle exec rspec

Tests involving javascript are slow. To skip these:

rspec --tag=~js

Contributing

The usual drill: fork, pull request. If your code doesn't come with tests or breaks the existing test suite it won't be accepted.

TODO:

  • Ruby version

  • System dependencies

  • Configuration

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions