termux.sh 458 B

123456789101112131415161718192021
  1. # Script for running zeronet-conservancy in Termux on Android
  2. if [[ -d zeronet-conservancy ]]; then
  3. cd zeronet-conservancy
  4. git pull --ff-only
  5. else
  6. git clone https://github.com/zeronet-conservancy/zeronet-conservancy
  7. cd zeronet-conservancy
  8. fi
  9. pkg update -y
  10. pkg install -y python automake git binutils tor
  11. echo "Starting tor..."
  12. tor --ControlPort 9051 --CookieAuthentication 1 >/dev/null &
  13. echo "Starting zeronet-conservancy..."
  14. ./start-venv.sh
  15. cd ..