scripts: add warnet install script

This commit is contained in:
Carla Kirk-Cohen 2024-03-28 11:28:14 -04:00
parent 14339b7fa6
commit 73071be742
No known key found for this signature in database
GPG Key ID: 4CA7FE54A6213C91
1 changed files with 17 additions and 0 deletions

17
scripts/run_warnet.sh Normal file
View File

@ -0,0 +1,17 @@
#!/bin/bash
if [ ! -d "warnet" ]; then
git clone https://github.com/bitcoin-dev-project/warnet
fi
cd warnet
# TODO: pin to a certain commit
# git checkout XYZ
python3 -m venv .venv # Use alternative venv manager if desired
source .venv/bin/activate
pip install --upgrade pip
pip install -e .
warnet