This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/lib/tasks/site.rake

15 lines
321 B
Ruby

# encoding: utf-8
namespace :site do
task :build => :environment do
Site.delete_all
Purchase.delete_all
Site.create( :school => 'RulingDigital University', :department => 'Computer Science', :valid_locales => [ 'en', 'zh_tw' ], :in_use_locales => [ 'zh_tw', 'en' ])
end
end