Created
March 8, 2014 22:45
-
-
Save jayd3e/9440155 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Go into /opt/webapp/clusterflunk/src | |
# and type heroku pg:psql | |
# You can add the courses/sections you need with the following two SQL commands | |
insert into courses(name, created, network_id, founder_id) values ('Course Name', now(), <network_id>, 59); | |
insert into sections(name, number, course_id) values ('Course Name', 'Course Number', <course_id); | |
# Then from the same directory, update the search index by calling fab update_search_index_courses:<network_id>, | |
# where <network_id> is replaced with the id of the network you're updating |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment