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 and disciplines.
(dev_venv) python3 course_flow.py create_saltise_strategies (dev_venv) python3 course_flow.py create_base_disciplines
-
For testing before commits, run:
(dev_venv) python3 course_flow.py test
or:
(dev_venv) pytest
-
To package a version:
tox --recreate
-
When using in another project:
add a COURSE_FLOW_RETURN_URL value to your settings.py