Try   HackMD

PWA web server (uWSGI + Nginx + Django)

The uWSGI project - uWSGI 2.0 documentation

Python uWSGI 安装配置

正式環境、測試環境設定不同

正式環境

  • 10.254.248.41(IDC)

    nginx: /etc/nginx/default.d/tk3c.conf

    uwsgi: /etc/uwsgi.d/tk3c.ini

    source code: /opt/tk3c/

    • source code

      POS Client PWA: /home/pi/Downloads/dist/dist/

      客顯PWA: /opt/tk3c/customerdisplay/

  • 門市Raspberry pi

測試環境

  • 10.1.62.97

    nginx: /etc/nginx/conf.d/tk3c.conf

    uwsgi: /etc/uwsgi/app-available/tk3c.ini

    • source code

      POS Client PWA: /home/pi/Downloads/dist/dist/

      POS API

      客顯PWA: /opt/tk3c/customerdisplay/