DPZC-Hetzner/webservice-balancer/clean.sh
2023-01-13 10:48:25 +01:00

14 lines
435 B
Bash
Executable File

#!/bin/bash
chmod +x deploy_webservice.py
echo "### Creating venv is probably a good idea - let's make one..."
if [ -d "web_venv" ]; then
echo " web_venv already exists, skipping creation..."
else
python3 -m venv web_venv
echo " CREATED"
fi
source ./web_venv/bin/activate
echo "### Now install hcloud module..."
pip install -q hcloud
echo "### And clear last deployment results..."
python deploy_webservice.py --clean