Created
September 18, 2019 06:56
-
-
Save JayachandraA/0fb9274023731a1e0a1923966814b39f to your computer and use it in GitHub Desktop.
Steps to create python project
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
Steps to create new python project with Django | |
STEP 1: Open terminal and go to root directory where you want to create a project | |
STEP 2: Enable virtual environment (i.e, $virtualenv venv -> $source venv/bin/activate) | |
STEP 3: Install Django package/framework (i.e, $ pip install Django), this includes the command django-admin as swell | |
STEP 4: Now, create new project i.e, $django-admin startproject <project_name> | |
STEP 5: Verify your created project by $ python manage.py runserver | |
STEP 6: Now, create new app i.e, $python manage.py startapp <app_name> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment