| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| utils | ||
| __init__.py | ||
| assets.py | ||
| docs.py | ||
| prereqs.py | ||
| servers.py |
When running in devstack, you need to set the SERVICE_VARIANT so that
assets.py knows what environment file to use. Recall that in devstack
we have all our settings in ../lms.env.json, not just ../env.json. So
you need to run like this:
SERVICE_VARIANT=lms paver lms --settings=devstack
Previously you'd get this error:
Warning: could not find environment JSON file at 'lms.env.json'
Note there is no path on the file, that's the bug. By making
self.REPO_ROOT absolute, we can walk up the tree and correctly find
the file, which is /edx/app/edxapp/lms.env.json fwiw.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| utils | Loading commit data... | |
| __init__.py | Loading commit data... | |
| assets.py | Loading commit data... | |
| docs.py | Loading commit data... | |
| prereqs.py | Loading commit data... | |
| servers.py | Loading commit data... |