Commit Graph

8 Commits

Author SHA1 Message Date
Skud
ea96813d7c make the site/app name (growstuff) a config var 2013-03-19 14:41:54 +11:00
Skud
81f247769f Added a rake task to create an admin user.
You should only have to do this once, after deploying.  Subsequent
admins can add new ones via the web interface.

The syntax is:

rake growstuff:admin_user name=skud

or, on heroku:

heroku run rake growstuff:admin_user name=skud
2013-02-20 14:54:38 +11:00
Miles Gould
dd28420210 Only run specs once. 2012-12-07 12:15:17 +00:00
Miles Gould
387d68185d Wrap dev/test Rake tasks in error recovery
Rake was dying due to missing gems in production.
2012-09-24 21:05:20 +01:00
Miles Gould
b173aad6b7 Added pre-commit hook script to run spec tests.
Based on instructions found at
http://codeinthehole.com/writing/tips-for-using-a-git-pre-commit-hook/

I have no idea how portable this will be.
2012-09-10 15:29:49 +01:00
Miles Gould
40f111001c Add a "rake watchr" task.
As before, code nicked from
http://www.rubyinside.com/how-to-rails-3-and-rspec-2-4336.html
2012-09-10 14:24:01 +01:00
Cesy Avon
1e907d4cb9 Fixing failing unit test and making rspec tests the default 2012-09-07 06:09:48 -07:00
Cesy Avon
95145f2869 Moving development to top level directory 2012-08-23 10:41:00 -07:00