Discontinued. Odin is no-longer supported.
Odin is the new Loki. LMS for HackSoft Academy
-
Install from here https://github.com/pyenv/pyenv-installer
-
Export:
export PATH="/path.to.user/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
-
Do
pyenv install 3.6.1
-
Create virtualenv with python3.6.1:
virtualenv -p ~/.pyenv/versions/3.6.1/bin/python3 odin
pip install -r requirements/local.txt
pip install -r requirements/test.txt
- Setup environment variables for recaptcha and OAuth application
- Create a shell script as utility/bootstrap.sh.sample with your username
- Run bootstrap.sh
npm install
- This installs bower and runs webpack as well as postinstall script.
- Run celery with the following command
celery -A odin worker -l info
To run tests:
$ py.test
To run the tests and check your test coverage
$ py.test --cov=odin
- Check this repository for reference -> https://github.com/HackSoftware/HackGrader