use dev branches

This commit is contained in:
nahuhh 2024-10-01 19:48:39 +00:00
parent 519c0b5ce5
commit 9865ffa7b6
3 changed files with 5 additions and 4 deletions

View file

@ -4,14 +4,14 @@ BasicSwapDEX on Windows(WSL)/Debian/Ubuntu/Arch/Fedora
### New Installation
```bash
git clone https://github.com/nahuhh/basicswap-bash
git clone https://github.com/nahuhh/basicswap-bash -b dev
cd basicswap-bash && ./install.sh
cd .. && rm -rf basicswap-bash
```
### Update scripts from older versions
``` bash
cd ~/coinswaps/basicswap
git clone https://github.com/nahuhh/basicswap-bash
git clone https://github.com/nahuhh/basicswap-bash -b dev
cd basicswap-bash
mkdir -p $HOME/.local/bin
rm -r $HOME/.local/bin/bsx

View file

@ -9,9 +9,10 @@ nocolor="printf \e[0m"
cd $SWAP_DATADIR
if [[ -d basicswap ]]; then
cd $SWAP_DATADIR/basicswap
git switch dev
git pull || { $red"Failed to pull repo. Installation aborted"; exit; }
else
git clone https://github.com/basicswap/basicswap || { $red"Failed to clone repo. Please run the installer again"; exit; }
git clone https://github.com/basicswap/basicswap -b dev || { $red"Failed to clone repo. Please run the installer again"; exit; }
cd $SWAP_DATADIR/basicswap
fi

View file

@ -14,7 +14,7 @@ if [[ -f basicswap/messages_pb2.py ]]; then
git restore basicswap/messages_pb2.py
fi
#git checkout master
git switch dev
git pull
$SWAP_DATADIR/venv/bin/pip3 install -r requirements.txt --require-hashes
$SWAP_DATADIR/venv/bin/pip3 install .