Files
mdshop/README.md
2016-07-05 12:55:18 +03:00

34 lines
817 B
Markdown

# MDShop #
A simple shopping list app:
* Runs on gunicorn+flaskr (python)
* Multi-user
* Data saved as flat files, can contain markdown
* Syntaxes parsed:
* [link](URL) -type links
* [ ] and [x] tick boxes
Note! Register page is enabled by default, but there is no link to it anywhere.
* Does not (yet) have proper configration file
## 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;
}
```