首次上传
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#!/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."
|
||||
|
||||
Reference in New Issue
Block a user