Public | Automated Build

Last pushed: 2 years ago
Short Description
A docker build to deploy Django on AWS ElasticBeanstalk.
Full Description

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


$ startproject --template= 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

Docker Pull Command