Merge pull request #104 from unmanbearpig/add-script-for-termux-installation

Add script for running zeronet-conservancy in Termux on Android
This commit is contained in:
caryoscelus 2022-06-04 15:33:41 +00:00 committed by GitHub
commit 1d16971c48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
termux.sh Normal file
View File

@ -0,0 +1,20 @@
# Script for running zeronet-conservancy in Termux on Android
if [[ -d zeronet-conservancy ]]; then
cd zeronet-conservancy
git pull --ff-only
else
git clone https://github.com/zeronet-conservancy/zeronet-conservancy
cd zeronet-conservancy
fi
pkg update -y
pkg install -y python automake git binutils tor
echo "Starting tor..."
tor --ControlPort 9051 --CookieAuthentication 1 >/dev/null &
echo "Starting zeronet-conservancy..."
./start-venv.sh
cd ..