Lorem Picsum
Installation
Create virtual environment
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt
Example nginx config
location /placeholder/ {
proxy_pass http://127.0.0.1:8000;
proxy_set_header SCRIPT_NAME /placeholder;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
Run
Debugging
flask run
Production
gunicorn --bind 127.0.0.1:8000 wsgi:app
Description
Languages
HTML
69.1%
Python
30.9%