Check out the post.
-
Fork/Clone
-
Create a virtual environment and install the dependencies:
$ pipenv shell $ pipenv install
-
Apply the migrations, create a superuser, and add the fixtures to the DB:
$ python manage.py migrate $ python manage.py createsuperuser $ python manage.py loaddata fixtures/users.json $ python manage.py loaddata fixtures/courses.json
-
Add your Stripe test secret and test publishable keys along with your Connect client id to the bottom of the settings.py file:
STRIPE_PUBLISHABLE_KEY = '<your test publishable key here>' STRIPE_SECRET_KEY = '<your test secret key here>' STRIPE_CONNECT_CLIENT_ID = '<your test connect client id here>'
-
Run the server:
$ python manage.py runserver