The image is prepared to be used in Django app development, it is suggested to use a
fig.yml to link this container with other web and db/cache/message-queue containers and mount the source code for your Django project.
Upon running the container, mount your src directory using
-v, --volumeoption into
volumes: ...in a
[optional] If you are starting a new project, after mounting the src volume, issue the following cmd to this container to populate the empty src folder:
django-admin.py startproject <project name> .
Always use this container for
python manage.py commands. Commit your source code from the mounted src volume together with the
fig.yml orchestration script.
$PROJECT_DIR = /code
For front-end development, use the bluekvirus/webstarter container which has its own nginx plus the gulp front-end build tool installed. (babel is also installed if you want to code in ECMAScript 6 instead of 5)