mirror of
https://github.com/nahuhh/basicswap-bash.git
synced 2025-01-18 16:54:35 +00:00
use dev branches
This commit is contained in:
parent
519c0b5ce5
commit
9865ffa7b6
3 changed files with 5 additions and 4 deletions
|
@ -4,14 +4,14 @@ BasicSwapDEX on Windows(WSL)/Debian/Ubuntu/Arch/Fedora
|
||||||
|
|
||||||
### New Installation
|
### New Installation
|
||||||
```bash
|
```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 basicswap-bash && ./install.sh
|
||||||
cd .. && rm -rf basicswap-bash
|
cd .. && rm -rf basicswap-bash
|
||||||
```
|
```
|
||||||
### Update scripts from older versions
|
### Update scripts from older versions
|
||||||
``` bash
|
``` bash
|
||||||
cd ~/coinswaps/basicswap
|
cd ~/coinswaps/basicswap
|
||||||
git clone https://github.com/nahuhh/basicswap-bash
|
git clone https://github.com/nahuhh/basicswap-bash -b dev
|
||||||
cd basicswap-bash
|
cd basicswap-bash
|
||||||
mkdir -p $HOME/.local/bin
|
mkdir -p $HOME/.local/bin
|
||||||
rm -r $HOME/.local/bin/bsx
|
rm -r $HOME/.local/bin/bsx
|
||||||
|
|
|
@ -9,9 +9,10 @@ nocolor="printf \e[0m"
|
||||||
cd $SWAP_DATADIR
|
cd $SWAP_DATADIR
|
||||||
if [[ -d basicswap ]]; then
|
if [[ -d basicswap ]]; then
|
||||||
cd $SWAP_DATADIR/basicswap
|
cd $SWAP_DATADIR/basicswap
|
||||||
|
git switch dev
|
||||||
git pull || { $red"Failed to pull repo. Installation aborted"; exit; }
|
git pull || { $red"Failed to pull repo. Installation aborted"; exit; }
|
||||||
else
|
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
|
cd $SWAP_DATADIR/basicswap
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ if [[ -f basicswap/messages_pb2.py ]]; then
|
||||||
git restore basicswap/messages_pb2.py
|
git restore basicswap/messages_pb2.py
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#git checkout master
|
git switch dev
|
||||||
git pull
|
git pull
|
||||||
$SWAP_DATADIR/venv/bin/pip3 install -r requirements.txt --require-hashes
|
$SWAP_DATADIR/venv/bin/pip3 install -r requirements.txt --require-hashes
|
||||||
$SWAP_DATADIR/venv/bin/pip3 install .
|
$SWAP_DATADIR/venv/bin/pip3 install .
|
||||||
|
|
Loading…
Reference in a new issue