This commit is contained in:
Shihaam Abdul Rahman 2023-04-11 10:25:16 +05:00
commit d26a485e78
Signed by: shihaam
GPG Key ID: 1D33DF08702F2A9C
4 changed files with 23 additions and 0 deletions

14
honestyui-build.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
echo "Content-type: text/html"
echo ""
cd ~/cicd/Fishie-Honesty-UI/
git pull
docker compose -f .build/docker-compose.yml build
docker compose -f .build/docker-compose.yml push
ssh dc1.shihaam.me -p 2222 -t 'cd /mnt/vol3/www/honestyui; docker compose pull; docker compose down; docker compose up -d'
cd -
echo ""
echo "prolly done, check for yourself"

View File

@ -0,0 +1,3 @@
#!/bin/bash
$(pwd)/honestyui-build.sh

1
public/index.html Normal file
View File

@ -0,0 +1 @@
Hello

5
start_service.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1
SCREEN=$(basename $(pwd))
screen -S $SCREEN -p 0 -X quit
screen -S $SCREEN -U -m -d python3 -m http.server --cgi --directory public 8012