libcurl.js/server/run.sh
2024-01-08 01:04:37 -05:00

16 lines
No EOL
280 B
Bash
Executable file

#!/bin/bash
#install dependencies and run the proxy server
set -e
if [ ! -d ".venv" ]; then
python3 -m venv .venv
fi
source .venv/bin/activate
if ! python3 -c "import asyncio_socks_server, websockify" 2> /dev/null; then
pip3 install -r requirements.txt
fi
python3 main.py