This repository contains the source code for Part 1 of Introduction to Django 3.0 - Building, Authenticating, and Deploying. Read more at: (Add Link here).
In this article, we'll be learning the fundamentals of Django 2.0 and create a codesharing application that we'll be able to run on our local system. Below are the instructions to run the code.
- Python3 and Git installed on your machine
- Postgress Database
- Auth0 Account
- Heroku Account
- Clone the repository:
git clone https://github.com/auth0-blog/ga-django-python.git
- Install all the packages using pip:
pip install -r "requirements.txt"
- Create Postgress DB with the name:
codeshare
- Run
python3 manage.py migrate
to make migrations - Run
python3 manage.py runserver
to start the server - Your browser should open automatically and show the application UI. If it doesn't start automatically, please open it manually and point it to http://localhost:8000
- Run
python3 manage.py createsuperuser
to create a superuser in Django