Skip to content

Cookiecutter template setups a dev enviroment for my Django projects using Docker containers and fig

Notifications You must be signed in to change notification settings

gudorian/concrete5-docker-coookiecutter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

This Cookiecutter template setups a dev enviroment for my Django projects using Docker containers and fig.

Containers

  • data container - Data container for Postgres and redis data
  • posgres - PostgreSQL
  • redis - Redis
  • nginx - Nginx for web access
  • web - Python container running the Django project using Gunicorn. Installs requirements from requirements.txt
  • pgweb - pgweb container for accessing the postgres database
  • assets - asset building container running sass, compass, jshint, gulp, minification etc.

Misc

  • Docker setup with fig
  • Django with PostgreSQL database
  • PostgreSQL
  • Redis
  • Datacontainer for persistent data
  • Nginx
  • Gunicorn
  • Sass
  • Compass
  • Compass breakpoint module
  • Bootstrap
  • jQuery
  • Gulp with watch and livereload

Commands

Run Django manage.py commands

fig run --rm web ./manage.py migrate
fig run --rm web ./manage.py syncdb

Creating a database

fig run --rm postgres sh -c 'exec createdb -U postgres -h "$POSTGRES_PORT_5432_TCP_ADDR" DATABASE_NAME';

About

Cookiecutter template setups a dev enviroment for my Django projects using Docker containers and fig

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 54.2%
  • JavaScript 31.3%
  • CSS 14.5%