Created
September 18, 2019 06:56
-
-
Save JayachandraA/0fb9274023731a1e0a1923966814b39f to your computer and use it in GitHub Desktop.
Revisions
-
JayachandraA created this gist
Sep 18, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ 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>