Skip to content

Commit

Permalink
Modify server group dev config to enable separate concurrent Askbot i…
Browse files Browse the repository at this point in the history
…nstances.
  • Loading branch information
David Ormsbee committed Aug 14, 2012
1 parent 8695517 commit c239a2a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions lms/envs/devgroups/courses.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ def course_db_for(course_id):
}
}

def askbot_url_for(course_id):
return "courses/{0}/discussions/".format(course_id)

3 changes: 2 additions & 1 deletion lms/envs/devgroups/h_cs50.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from .courses import *

DATABASES = course_db_for('HarvardX/CS50x/2012')
DATABASES = course_db_for('HarvardX/CS50x/2012')
ASKBOT_URL = askbot_url_for("HarvardX/CS50x/2012")
3 changes: 2 additions & 1 deletion lms/envs/devgroups/m_6002.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from .courses import *

DATABASES = course_db_for('MITx/6.002x/2012_Fall')
DATABASES = course_db_for('MITx/6.002x/2012_Fall')
ASKBOT_URL = askbot_url_for("MITx/6.002x/2012_Fall")

0 comments on commit c239a2a

Please sign in to comment.