aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/start-solo-tool.sh
blob: 7b96b22500e547a34d6b7803eacac9b643137b03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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