Skip to content

Instantly share code, notes, and snippets.

@Remiii
Last active March 12, 2017 09:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Remiii/48e55a49da405a57a5eeb6dbca85db22 to your computer and use it in GitHub Desktop.
Save Remiii/48e55a49da405a57a5eeb6dbca85db22 to your computer and use it in GitHub Desktop.
Setup django-poc

Setup django-poc

Setup env

$ mkvirtualenv django-poc -p python3 -a pathToTheProject
$ pip install django
$ pip install -r requirements/local.txt

$ python -V
$ python -m django --version

Setup docker and run

$ workon django-poc
$ docker-compose -f dev.yml build
$ docker-compose -f dev.yml up
$ docker exec -i -t djangopoc_django_1 /bin/bash # exec in the container
$ docker-compose -f dev.yml run django bash # exec in another container
$ deactivate

Sample superadmin

admin
admin@example.com
django-poc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment