Skip to content

Commit 8ef331f

Browse files
authored
Automatically seed Experience CS Projects (#757)
This is a small quality-of-life update for Experience CS developers to automatically invoke the rake task 'projects:create_experience_cs_examples' when editor-api is seeded. This will save excs developers having to (a) know and (b) remember to invoke this task when resetting the database. ## Status - Closes _add issue numbers or delete_ - Related to _add issue numbers or delete_ ## Points for consideration: - Security - Performance ## What's changed? - Adds `projects:create_experience_cs_examples` to the list of rake tasks invoked automaticaly in `seeds.rb`. ## Steps to perform after deploying to production None. Development-only change.
1 parent 2916616 commit 8ef331f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

db/seeds.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
if Rails.env.development?
66
Rake::Task['projects:create_all'].invoke
77
Rake::Task['for_education:seed_a_school_with_lessons_and_students'].invoke
8+
Rake::Task['projects:create_experience_cs_examples'].invoke
89
end

0 commit comments

Comments
 (0)