CourseFlow is a pedagogical tool for planning activities, courses, and programs, which is designed to enable Research Practice Partnerships between instructors, designers, and researchers.
-
Set up a virtualenv.
python3 -m venv dev_venv
-
Activate the virtualenv.
source dev_venv/bin/activate
-
Install the requirements.
(dev_venv) pip install -r requirements.txt
-
Install pre-commit (optional).
pre-commit install
-
Install node modules.
yarn install | npm i
-
Build minified JS files.
yarn run gulp build-js | ./node_modules/gulp/bin/gulp.js build-js
-
Migrate
(dev_venv) python3 course_flow.py migrate
-
If you don't have a local_settings.py set up, change line 25 in settings.py to:
DEBUG = True
-
Run the Django development server.
(dev_venv) python3 course_flow.py runserver
-
Register at:
127.0.0.1:8000/register
-
Create default strategies.
(dev_venv) python3 cousre_flow.py create_instances course_flow/initial_data/template_strategies.json <username you registered under>
-
For testing before commits, run:
(dev_venv) python3 course_flow.py test