Skip to content

Instantly share code, notes, and snippets.

@JayachandraA
Created September 18, 2019 06:56
Show Gist options
  • Save JayachandraA/0fb9274023731a1e0a1923966814b39f to your computer and use it in GitHub Desktop.
Save JayachandraA/0fb9274023731a1e0a1923966814b39f to your computer and use it in GitHub Desktop.

Revisions

  1. JayachandraA created this gist Sep 18, 2019.
    8 changes: 8 additions & 0 deletions Steps_to_create_python_project.txt
    Original 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>