488d0d842509925dbfca1d10e41b6c8bc11522ce
MDShop
A simple shopping list app:
- Runs on gunicorn+flaskr (python)
- multi-user
- data saved as flat files, can contain markdown
Note! register page is enabled by default, but there is no link to it anywhere.
Running
To debug, run with ./debug.py
To run with gunicorn and nginx:
start app: gunicorn -b 0.0.0.0:8166 -w 2 shop:app
Add in nginx config:
location /myshop/ {
proxy_pass http://127.0.0.1:8166/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Script-Name /myshop;
}
Description
Languages
Python
44.9%
JavaScript
27.6%
HTML
19.8%
CSS
7.1%
Dockerfile
0.6%