git courses import/export instructions?

138 views
Skip to first unread message

Pierre Mailhot

unread,
May 22, 2015, 11:11:31 AM5/22/15
to opene...@googlegroups.com
I have been asked to implement in our Open edX instance the use of import / export courses from Git.

I've added 
"ENABLE_EXPORT_GIT": true,
in cms.env.json

In lms.env.json, I added

    "GIT_REPO_DIR""/edx/var/edxapp/course_repos",

but noticed there already was

    "GITHUB_REPO_ROOT": "/edx/var/edxapp/data",

Can someone tell me the difference between these two entries? Especially since there are already empty directories for each courses under /edx/var/edxapp/data.

Thanks for any information.

Regards,

Pierre

Carson Gee

unread,
May 26, 2015, 11:47:36 AM5/26/15
to opene...@googlegroups.com
GITHUB_REPO_ROOT is an older setting that is unrelated to git import/export.  I believe it relates to the original XMLModuleStore and determines where the course directory is placed: https://github.com/edx/edx-platform/commit/6bf0e093bc5a4520f48bebab14ad8c39ece51f6e appears to be where it was added.  For newer module stores it just creates an empty folder with the name of the course.

--
You received this message because you are subscribed to the Google Groups "Open edX operations" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openedx-ops...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openedx-ops/86ae82d7-2351-4927-956e-0de54a4cdb4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Pierre Mailhot

unread,
May 26, 2015, 1:12:11 PM5/26/15
to opene...@googlegroups.com
Thanks Carson.
Reply all
Reply to author
Forward
0 new messages