#!/usr/bin/env bash
set -e
cd /opt/euspacemc-panel
[ -f .env ] || cp .env.example .env
[ -d .venv ] || python3 -m venv --system-site-packages .venv
. .venv/bin/activate
python -m pip install --upgrade pip >/dev/null
python -m pip install -r requirements.txt
python launcher.py
