Skip to content

Instantly share code, notes, and snippets.

@amites
Last active September 19, 2016 16:31
Show Gist options
  • Save amites/c7fa6e4480b0ac6b83228e842b631388 to your computer and use it in GitHub Desktop.
Save amites/c7fa6e4480b0ac6b83228e842b631388 to your computer and use it in GitHub Desktop.
README to setup a new django project.

In Terminal run the following commands

    virtualenv  VIRTUALENV_NAME
    cd VIRTUALENV_NAME
    source bin/activate
    pip install django ipython
   django-admin startproject PROJECT_NAME
   cd PROJECT_NAME
   python manage.py migrate
   python manage.py runserver

You should now see "It worked" in browser at http://localhost:8000

Close the server CTRL + C

    python manage.py startapp hello_world
    python manage.py runserver

Post any further questions into Slack Channel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment