Orbit/lib/tasks/site.rake

15 lines
323 B
Ruby
Raw Normal View History

2011-08-18 05:43:33 +00:00
# encoding: utf-8
namespace :site do
task :build => :environment do
2013-02-05 10:26:45 +00:00
Site.destroy_all
Purchase.destroy_all
2011-08-18 05:43:33 +00:00
Site.create( :school => 'RulingDigital University', :department => 'Computer Science', :valid_locales => [ 'en', 'zh_tw' ], :in_use_locales => [ 'zh_tw', 'en' ])
2011-08-18 05:43:33 +00:00
end
end