A platform for hosting our courses
Install pipenv:
pip install pipenv
Install the dependencies:
pipenv install
Activate virtual env:
pipenv shell
cd cmp
Make migrations:
python manage.py migrate
Add an admin user:
python manage.py createsuperuser
Go to the admin panel, and add
- A new site:
127.0.0.1:8000
- note the site ID - Secrets and keys for OAuth
And run it:
export SITE_ID=4
python manage.py runserver 0.0.0.0:8000
Where SITE_ID
is the ID of the 127.0.0.1:8000
site