Skip to content

kcoyner/django-AWS-beanstalk-docker-template

 
 

Repository files navigation

Elastic Beanstalk Docker template for Django

Boilerplate Docker template for Django 1.9+ running Python 3.4.+ on AWS's Elastic Beanstalk.

Assumes you have virtualenv and virtualenvwrapper installed.

Starting your project

$ mkdir /home/kevin/AWS/mysite.proj

$ mkvirtualenv -a /home/kevin/AWS/mysite.proj mysite

$ pip install Django

$ export DJANGO_SETTINGS_MODULE=''

$ django-admin.py startproject --template=https://github.com/kcoyner/django-AWS-beanstalk-docker-template/archive/master.zip mysite

$ export DJANGO_SETTINGS_MODULE='mysite.settings'

$ export PYTHONPATH=$PYTHONPATH:/home/kevin/AWS/mysite.proj/mysite

$ django-admin check

$ pip install awsebcli

$ cd mysite

$ git init

$ git add . && git commit -a

$ eb init

$ eb create

Originally from a tutorial found at http://glynjackson.org/weblog/django-aws-elastic-beanstalk-docker-2/

About

Boilerplate Template: Deploy and manage your Django application using AWS Beanstalk and Docker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 78.3%
  • HTML 12.5%
  • Makefile 8.8%
  • Shell 0.4%