mirror of
https://github.com/Crocmagnon/cookiecutter-django.git
synced 2024-11-14 02:43:55 +01:00
9 lines
231 B
Text
9 lines
231 B
Text
|
#!/bin/bash
|
||
|
set -euxo pipefail
|
||
|
pushd /mnt/data/{{cookiecutter.project_slug}}
|
||
|
docker compose --ansi never pull --quiet
|
||
|
docker compose --ansi never up -d
|
||
|
docker compose exec django python manage.py migrate
|
||
|
popd
|
||
|
docker image prune -f
|