init commit
This commit is contained in:
0
lottery/bin/cli
Normal file
0
lottery/bin/cli
Normal file
3
lottery/bin/cli.sh
Executable file
3
lottery/bin/cli.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
docker compose exec web python3 manage.py "$@"
|
||||
3
lottery/bin/pip3.sh
Executable file
3
lottery/bin/pip3.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
docker compose exec web pip3 "$@"
|
||||
12
lottery/bin/update.sh
Executable file
12
lottery/bin/update.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
cd `dirname $0`/..
|
||||
|
||||
git pull
|
||||
|
||||
docker compose down
|
||||
docker compose build
|
||||
docker compose up -d web
|
||||
sleep 1
|
||||
./bin/cli migrate
|
||||
docker compose up -d
|
||||
Reference in New Issue
Block a user