This repository was archived by the owner on Oct 16, 2024. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork384
A Django 2.0 base template featuring all recommended best practices for deployment on Heroku and local development.
NotificationsYou must be signed in to change notification settings
heroku/heroku-django-template
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
An utterly fantastic project starter template for Django 2.0.
- Production-ready configuration for Static Files, Database Settings, Gunicorn, etc.
- Enhancements to Django's static file serving functionality via WhiteNoise.
- Latest Python 3.6 runtime environment.
To use this project, follow these steps:
- Create your working environment.
- Install Django (
$ pipenv install django
) - Create a new project using this template
Using this template to create a new Django app is easy::
$ django-admin.py startproject --template=https://github.com/heroku/heroku-django-template/archive/master.zip --name=Procfile helloworld
(If this doesn't work on windows, replacedjango-admin.py
withdjango-admin
)
You can replacehelloworld
with your desired project name.
$ git init$ git add -A$ git commit -m "Initial commit"$ heroku create$ git push heroku master$ heroku run python manage.py migrate
See also, aready-made application, ready to deploy.
About
A Django 2.0 base template featuring all recommended best practices for deployment on Heroku and local development.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.