Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

This container is based on Debian 8 (jessie) and was built in order to create and deploy django-projects very fast.


Step by step

=== pull the image
docker pull heigler/django19

=== run it
docker run -it --name your_project_name -p 80:80 -p 3000:3000 -v /home/your_user:/home/web/your_user -d heigler/django19 /bin/bash

This will exposes your home folder in /home/web/your_home inside the container, so you can copy, edit, and delete files out the container, so you can use sublime text per example.

=== attach it
docker attach your_project_name
=== hit enter

=== Now you are using the root, but everything is configured as the "web" user, so
su web
startproject my_new_project
cd my_new_project/my_new_project
./ runserver

=== Verify the container's IP through ifconfig and access it through your browser:

Docker Pull Command