pvergain / Odin

Learning management system for HackBulgaria / HackSoft Academy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Odin

Discontinued. Odin is no-longer supported.

Odin is the new Loki. LMS for HackSoft Academy

Built with Cookiecutter Django Build Status Coverage Status

Setup

Virtual environment with python 3.6.1

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

Install requirements

pip install -r requirements/local.txt
pip install -r requirements/test.txt
  1. Setup environment variables for recaptcha and OAuth application
  2. Create a shell script as utility/bootstrap.sh.sample with your username
  3. Run bootstrap.sh

Install JS requirements

npm install
  • This installs bower and runs webpack as well as postinstall script.

Celery

  • Run celery with the following command celery -A odin worker -l info

Tests

To run tests:

$ py.test

To run the tests and check your test coverage

$ py.test --cov=odin

Grader

About

Learning management system for HackBulgaria / HackSoft Academy


Languages

Language:Python 98.6%Language:Shell 1.4%