Commit b60e4dd2 by Arjun Singh

adding a rake task to start the django shell (lms_shell and cms_shell)

parent ca36fb67
......@@ -124,6 +124,11 @@ TEST_TASKS = []
sh(django_admin(system, args.env, 'runserver', args.options))
end
task "#{system}_shell", [:env, :options] => [:predjango] do |t, args|
args.with_defaults(:env => 'dev', :options => default_options[system])
sh(django_admin(system, args.env, 'shell'))
end
# Per environment tasks
Dir["#{system}/envs/*.py"].each do |env_file|
env = File.basename(env_file).gsub(/\.py/, '')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment