crypto-forecasting-ai / scripts /setup_local.sh
chonthichar's picture
Initial production BTC forecasting app
34d2820
Raw History Blame Contribute Delete
370 Bytes
#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$ROOT"
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt
if [ ! -f .env ]; then cp .env.example .env; fi
printf '\nSetup complete. Edit .env, then run: source .venv/bin/activate && ./scripts/run_local.sh\n'