mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-24 15:30:44 +03:00
Merge pull request #1652 from emilepetrone/master
Added documentation for Docker deployment in detached mode
This commit is contained in:
commit
4d3cdab2be
|
@ -84,6 +84,10 @@ Once this is ready, you can run it with::
|
||||||
|
|
||||||
docker-compose -f production.yml up
|
docker-compose -f production.yml up
|
||||||
|
|
||||||
|
To run the stack and detach the containers, run::
|
||||||
|
|
||||||
|
docker-compose -f production.yml up -d
|
||||||
|
|
||||||
To run a migration, open up a second terminal and run::
|
To run a migration, open up a second terminal and run::
|
||||||
|
|
||||||
docker-compose -f production.yml run --rm django python manage.py migrate
|
docker-compose -f production.yml run --rm django python manage.py migrate
|
||||||
|
|
Loading…
Reference in New Issue
Block a user