wangfu-register/README.md

20 lines
403 B
Markdown
Raw Permalink Normal View History

2023-11-08 01:37:18 +00:00
# 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 "*"
```