Skip to content

Instantly share code, notes, and snippets.

@cgthayer
Last active February 24, 2020 02:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cgthayer/a43786a447527e0c8b9afb5cd69c91d2 to your computer and use it in GitHub Desktop.
Save cgthayer/a43786a447527e0c8b9afb5cd69c91d2 to your computer and use it in GitHub Desktop.
deploy-django-code-1
$ pip install django
$ django-admin startproject myproj
$ cd myproj
$ django-admin startapp myapp
$ export DJANGO_SETTINGS_MODULE=myproj.settings
$ django-admin runserver
Performing system checks…
System check identified no issues (0 silenced).
February 11, 2020–05:12:45
Django version 1.11.9, using settings 'myproj.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
^C$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment