Skip to content

DataTalksClub/course-management-platform-old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Course Management Platform

A platform for hosting our courses

Running it locally

Installing dependencies

Install pipenv:

pip install pipenv

Install the dependencies:

pipenv install

Activate virtual env:

pipenv shell

Prepare the service

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

Running the service

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

About

A platform for hosting our courses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages