How to run rake tasks

Running a rake task

SSH into the given server and then do:

dokku enter placecal
bundle exec rake <your rake task here>

e.g.

dokku enter placecal
bundle exec rake import:all_events

Running tests

Run the normal test suite by doing:

rails test

(Note: Parallel workers are required -- See Latent Bug #1)

Run a specific test by doing:

rails test TEST=test/controllers/pages_controller_test.rb

Run a specific test seed by doing:

rails test 'TESTOPTS=--seed=01234'