mirror of https://github.com/interlegis/sapl.git
eribeiro
5 years ago
26 changed files with 29 additions and 24 deletions
@ -1,2 +1,2 @@ |
|||
#!/bin/bash |
|||
#!/usr/bin/env bash |
|||
echo "from django.contrib.auth.models import User; User.objects.create_superuser('admin', 'admin@example.com', 'admin')" | python manage.py shell --plain |
|||
|
@ -1,4 +1,4 @@ |
|||
#!/bin/bash |
|||
#!/usr/bin/env bash |
|||
sudo docker stop sapl_localhost_1 |
|||
sudo docker rm sapl_localhost_1 |
|||
sudo docker rmi -f postgres |
|||
|
@ -1,2 +1,3 @@ |
|||
#!/bin/bash |
|||
#!/usr/bin/env bash |
|||
|
|||
sudo pg_restore --disable-triggers --data-only sapl_30-03-16.tar | docker exec -i sapl_localhost_1 psql -U sapl |
|||
|
@ -1,3 +1,3 @@ |
|||
#!/bin/bash |
|||
#!/usr/bin/env bash |
|||
|
|||
docker run --rm -ti sapl_web /bin/sh |
|||
|
Loading…
Reference in new issue