scripts: add warnet install script
This commit is contained in:
parent
14339b7fa6
commit
73071be742
|
@ -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
|
Loading…
Reference in New Issue