-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Creates a superuser for the zaak-gateway backend | ||
echo "from django.contrib.auth import get_user_model; get_user_model().objects.create_superuser('[email protected]', 'insecure')" | docker-compose -f docker-compose.local.yml run -T --rm zaak-gateway python manage.py shell | ||
echo "from django.contrib.auth import get_user_model; get_user_model().objects.create_superuser('[email protected]', 'insecure')" | docker compose -f docker-compose.local.yml run -T --rm zaak-gateway python manage.py shell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
#!/bin/bash | ||
|
||
docker-compose down | ||
docker compose down | ||
|
||
docker volume rm $(docker volume ls -q) | ||
|
||
docker-compose -f ../docker-compose.local.yml build | ||
docker compose -f ../docker-compose.local.yml build | ||
|
||
docker-compose run --rm zaak-gateway python manage.py migrate | ||
docker compose run --rm zaak-gateway python manage.py migrate | ||
|
||
bash ../bin/setup_credentials.sh | ||
|
||
./fix_models.sh | ||
|
||
docker-compose -f ../docker-compose.local.yml up | ||
docker compose -f ../docker-compose.local.yml up |