Files
gate_scout_order/onchain_scout_gate/deploy/bootstrap.sh
T
2026-05-16 22:25:48 +08:00

20 lines
399 B
Bash

#!/usr/bin/env bash
set -euo pipefail
PROJECT_DIR="${1:-/root/onchain_scout_gate}"
cd "$PROJECT_DIR"
python3 -m venv .venv
source .venv/bin/activate
pip install -U pip
pip install -r requirements.txt
if [ ! -f config.yaml ]; then
cp config.example.yaml config.yaml
echo "config.yaml created from template, please edit keys/password before start."
fi
mkdir -p runtime
echo "Bootstrap done."