Skip to content

timburgess/django-dokku-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-dokku-boilerplate

A simple boilerplate for Django using Dokku

Dokku provides a fantastic git-oriented way of deploying applications. This is a minimum boilerplate (no Postgres, no S3, no kitchen sink) to get you started with Dokku so you can focus on learning Dokku rather than hacking around in Django internals

In a nutshell,

  • setup an Ubuntu 18.04 LTS machine running Dokku version 0.21.4

  • create an app name: dokku apps:create simple-dokku

  • set your appenvironment:

dokku config:set simple-dokku DJANGO_ALLOWED_HOSTS='*'
dokku config:set simple-dokku DJANGO_SETTINGS_MODULE='config.settings.local'
dokku config:set simple-dokku DJANGO_SECRET_KEY='your-custom-secret-key-here'
  • clone this repo

  • setup dokku as a remote repository git remote add dokku dokku@my-ubuntu-box-here:simple-dokku

  • push to dokku! git push dokku master

  • visit your Ubuntu server at the reported deployment port to see the default Django page

See INSTALL.md for the exact steps

About

A simple boilerplate for Django using Dokku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages