Files
relay/scripts/initenv.sh
2024-02-14 10:36:27 +01:00

12 lines
310 B
Bash
Executable File

#!/bin/bash
set -e
python3 -m venv --upgrade-deps venv
if [ -z ${SOCKS5_PROXY+x} ]; then
venv/bin/pip install -e chatmaild
venv/bin/pip install -e cmdeploy
else
venv/bin/pip install --proxy socks5://$SOCKS5_PROXY -e chatmaild
venv/bin/pip install --proxy socks5://$SOCKS5_PROXY -e cmdeploy
fi