Last active
November 14, 2020 04:19
-
-
Save sankalpjonn/07b99adf85538b5a90a0dcaa34de328c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Step 1: create a python3 virtual environment called django_env | |
python3 -m venv django_env | |
# Step 2: Activate the virtual environment | |
source django_env/bin/activate | |
# Step 3: Install all the dependencies. | |
pip install django | |
pip install djangorestframework | |
# Step 4: Create a new django project called "notesapp" and enter it. Also create the initial database tables | |
django-admin startproject notesapp | |
cd notesapp | |
python manage.py migrate | |
# Step 5: Create a new application within your django project called "notes" | |
python manage.py startapp notes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment