Ville Rantanen c042cdd04d moving to p3
2020-03-27 11:47:33 +02:00
2016-07-04 13:20:20 +03:00
2019-03-24 18:46:07 +02:00
2019-03-24 18:46:07 +02:00
2016-07-04 13:20:20 +03:00
2018-11-11 11:43:18 +02:00
2018-11-11 11:43:18 +02:00
2016-07-03 23:55:55 +03:00
2018-11-11 11:43:18 +02:00
2016-07-03 23:47:54 +03:00
2020-03-27 11:47:33 +02:00

MDShop

A simple shopping list app:

  • Runs on gunicorn+flask (python2.7)
  • Multi-user
  • Data saved as flat files, can contain markdown
  • Syntaxes parsed:
    • link -type links
    • and [x] tick boxes

Note! Register page is enabled by default, but there is no link to it anywhere.

  • Disable registering with env variable: ENABLE_REGISTER=false

Running

  • To debug, run with ./debug.py

  • To run with gunicorn and nginx:

  • start app: gunicorn -b 0.0.0.0:8000 -w 2 shop:app

  • Add in nginx config:

location /myshop/ {
                proxy_pass http://127.0.0.1:8000/;
                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
No description provided
Readme 111 KiB
Languages
Python 44.9%
JavaScript 27.6%
HTML 19.8%
CSS 7.1%
Dockerfile 0.6%