Skip to content

Instantly share code, notes, and snippets.

@antoineclaval
Last active December 5, 2019 05:25
Show Gist options
  • Save antoineclaval/7e440d6cd5e44c4368940dfd7847ff1e to your computer and use it in GitHub Desktop.
Save antoineclaval/7e440d6cd5e44c4368940dfd7847ff1e to your computer and use it in GitHub Desktop.
django docker stuff
set -a; source ~/my-project-dir/.env; set +a
python manage.py createsuperuser
docker exec -it “container-id” bash
docker-compose up -d --build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment