====== GreaterWMS ====== * [[https://github.com/Singosgu/GreaterWMS| github repo]] ===== Build ===== * Ubuntu 20.04 * ''apt install python3 python3-dev python3-pip'' * ''sudo pip install -r requirements.txt'' * ''python manage.py makemigrations'' * ''python manage.py migrate'' * ''daphne -p 7172 -b 0.0.0.0 greaterwms.asgi:application'' * 从2.0.19版本以后,优化了请求地址修改方式,直接修改templates/dist/spa/statics/baseurl.js,中的baseurl和wsurl,就可以成功更改前端请求地址,不再需要做quasar build打包工作 * 改完后,浏览器得强制刷新页面重新载入 * 得预先添加数据才不会报错,比如仓库、供应商、商品等