Skip to content

mkolovic/django-poll-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Poll Tutorial

This code was written following the Official Django Tutorial.

Running the Web Server

The included Dockerfile is built to launch the built in Django web server, running on localhost port 8000.

$ docker build -t django_poll_tutorial .
$ docker run -d -p 8000:8000 django_poll_tutorial

Developing

$ docker run --name django_poll_tutorial -it -p 8000:8000 -v $(pwd)/app:/home/app django_poll_tutorial

Now you can edit the code in /app from outside the container with your favorite editor. To execute further commands inside the running container:

$ docker exec -it django_poll_tutorial bash

About

A Django project and accompanying Dockerfile building a toy poll site.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published