diff options
Diffstat (limited to 'deployment/start-solo-tool.sh')
-rw-r--r-- | deployment/start-solo-tool.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/deployment/start-solo-tool.sh b/deployment/start-solo-tool.sh new file mode 100644 index 0000000..7b96b22 --- /dev/null +++ b/deployment/start-solo-tool.sh @@ -0,0 +1,16 @@ +#!/usr/bin/bash + +# Ensure that necessary directories exist +mkdir -p "${SESSION_DIR}" "${SONG_POOL}" + +# Get latest revision +cd "${SERVICE_DIR}" +rm -rf repo +git clone --depth 1 https://git.0xf7.com/solo-tool.git repo + +# Bootstrap venv +cd repo +make + +# Run web UI +./.venv/bin/python web-project/src/solo_tool_web.py 80 |