run compile assets as part of initial_setup
closes CORE-1981 test plan - rake db:initial_setup should run Change-Id: I4ddebf513a4b75c7aa4ca16d9126198ced2acfc6 Reviewed-on: https://gerrit.instructure.com/170486 Tested-by: Jenkins Reviewed-by: James Williams <jamesw@instructure.com> QA-Review: Rob Orton <rob@instructure.com> Product-Review: Rob Orton <rob@instructure.com>
This commit is contained in:
parent
f0d620caf4
commit
701975c862
|
@ -203,6 +203,7 @@ namespace :db do
|
|||
|
||||
desc "Useful initial setup task"
|
||||
task :initial_setup => [:generate_security_key] do
|
||||
Rake::Task['canvas:compile_assets'].invoke
|
||||
Rake::Task['db:migrate:predeploy'].invoke
|
||||
ActiveRecord::Base.connection.schema_cache.clear!
|
||||
ActiveRecord::Base.all_models.reject{ |m| m == Shard }.each(&:reset_column_information)
|
||||
|
|
Loading…
Reference in New Issue