网服注册服务
| assets | ||
| src | ||
| templates | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| config.json.example | ||
| LICENSE | ||
| nginx.conf | ||
| README.md | ||
| requirements.txt | ||
wangfu-register
Edit config.json and templates/*.html(turnstile site keys)
development
Create virtual environment and install dependencies
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Debug the code
uvicorn src.main:app --reload
deployment
uvicorn src.main:app --host "127.0.0.1" --port 10010 --proxy-headers --forwarded-allow-ips "*"