Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
db
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

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

Resources

Releases

No releases published
You can’t perform that action at this time.