Project templates gallery¶

A simple project template prepared to be used as a service or a Django app. Contains a Dockerfile leveraging the included setup.py file. Aimed at projects that are meant to be one-app-per-service but more apps can be easily added

One app per service template

Template usage:

django-admin startproject --template=https://github.com/pkucmus/django-project-template/archive/master.zip --extension py,md,Dockerfile {{ project_name }}

Quick runserver:

cd /path/to/project
docker build -t {{ project_name }} -f devel.Dockerfile .
docker run -it --name {{ project_name }}_run_1 -p 8000:8000 -v $(pwd)/src/{{ project_name }}:/srv/app/{{ project_name }} {{ project_name }}

Logo

Table Of Contents

  • Python
  • Django
    • Project templates gallery
  • Other useful commands

Related Topics

  • Documentation overview
    • Django
      • Previous: Django
      • Next: Other useful commands

Quick search

©2017, Paweł Kucmus. | Powered by Sphinx 1.7.9 & Alabaster 0.7.12 | Page source