Skip to content

Instantly share code, notes, and snippets.

@rpietro
Created January 7, 2014 09:28
Show Gist options
  • Save rpietro/8296921 to your computer and use it in GitHub Desktop.
Save rpietro/8296921 to your computer and use it in GitHub Desktop.
django mako hack

cd /Users/rpietro/anaconda/lib/python2.7/site-packages/django/bin python django-admin.py startproject website python manage.py startapp homepage rm views.py mkdir views touch views/init.py mkdir templates subl templates/test.html cd .. subl settings.py subl urls.py python manage.py runserver

go to http://127.0.0.1:8000/ or whatever address the last command might point you to

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