summaryrefslogtreecommitdiff
path: root/lib/tasks/development_init.rake
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-03-01 13:56:52 +0100
committerhukl <contact@smyck.org>2009-03-01 13:56:52 +0100
commit99c11dbce9aa161853f29a431ab3bb24bdd548ab (patch)
tree2fd91f8fde742a4778e4a4a7f5a22ae8843c4f05 /lib/tasks/development_init.rake
parentc7757522c2750675fab6c4324453e237b863d84c (diff)
run rake cccms:setup_environment to get all tasks done at once
Diffstat (limited to 'lib/tasks/development_init.rake')
-rw-r--r--lib/tasks/development_init.rake5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/tasks/development_init.rake b/lib/tasks/development_init.rake
index cdfe9e9..22553fc 100644
--- a/lib/tasks/development_init.rake
+++ b/lib/tasks/development_init.rake
@@ -2,6 +2,11 @@ require 'csv'
2 2
3namespace :cccms do 3namespace :cccms do
4 4
5 desc "Setup everythin"
6 task :setup_environment => [:create_admin_user, :import_updates, :create_home_page] do |t|
7
8 end
9
5 desc "Create admin:foobar user:password" 10 desc "Create admin:foobar user:password"
6 task :create_admin_user => :environment do |t| 11 task :create_admin_user => :environment do |t|
7 User.create!( 12 User.create!(