Skip to content

A pre-built CustomUser Django starter. Has pre-built CustomUser app and no other apps.

License

Notifications You must be signed in to change notification settings

brucestull/DjangoStarter-heroku

Repository files navigation

Django Starter with CustomUser, Django Documentation Generator, DEV-PROD settings, pipenv, and Heroku Procfile

  • NOTE: Author is using PowerShell for this guide.

Features

  • Custom user model.
  • Django admin documentation generator.
  • Separate DEV and PROD settings.
  • Pipfile included.
  • Heroku Procfile included.

Assumptions

  • User has functioning Python 3.11 installation.
  • User has functioning pipenv installation.
  • User has functioning git installation.
  • User is familiar with how to use terminal commands.
  • User has Heroku account.
  • User has Heroku CLI installed.

WARNING:

  • Deployment checklist - docs.djangoproject.com
    • This template has Django SECRET_KEY exposed in development settings files. It is important to create your own separate SECRET_KEY for development and production and keep them out of the codebase. This template has SECRET_KEY exposed in order to get the user up and running quickly.

Process

  1. Create Repository from DjangoCustomUserStarter-heroku Template
  2. Run Application Locally
  3. Create Heroku Application Server Instance
  4. Provision Database Server Instance
  5. Add DJANGO_SETTINGS_MODULE to Config Vars
  6. Add Django SECRET_KEY to Config Vars
  7. Add Database Settings to Config Vars
  8. Modify ALLOWED_HOSTS
  9. Push to Heroku and Create Superuser

Excellent resources, this project wouldn't have been possible without these

Other Documentation

Links to this project's pages

About

A pre-built CustomUser Django starter. Has pre-built CustomUser app and no other apps.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published