Skip to content

dopraxcom/cf-example-python-django

 
 

Repository files navigation

Dockerized Django application

This is an example Python application that uses Django, pip and Docker.

Instructions

To install dependencies

pip install -r requirements.txt 

To run tests

python -m unittest composeexample.utils

To run the webapp manually

python manage.py runserver 0.0.0.0:8000

....and navigate your browser to http://localhost:8000/

To create a docker image

docker build -t django-app .

To run the docker image

docker run -p 8000:8000 django-app

To use this project in dorax

Just go to deploy tab and click run.

Enjoy!

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.5%
  • Dockerfile 5.5%