20 lines
403 B
Markdown
20 lines
403 B
Markdown
|
# 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 "*"
|
||
|
```
|