浏览代码

Config pour linux

omassot 7 年之前
父节点
当前提交
b026605d77
共有 3 个文件被更改,包括 6 次插入4 次删除
  1. 2 1
      requirements.txt
  2. 0 3
      start_server.cmd
  3. 4 0
      start_server.sh

+ 2 - 1
requirements.txt

@@ -3,4 +3,5 @@ path.py>=11.1.0
 Jinja2
 Flask
 cerberus
-.\GDAL-2.3.2-cp37-cp37m-win32.whl
+pyshp
+# sur windows: .\GDAL-2.3.2-cp37-cp37m-win32.whl

+ 0 - 3
start_server.cmd

@@ -1,3 +0,0 @@
-set FLASK_APP=index.py
-set FLASK_ENV=development
-flask run

+ 4 - 0
start_server.sh

@@ -0,0 +1,4 @@
+export FLASK_APP=index.py
+export FLASK_ENV=development
+export FLASK_RUN_PORT=8009
+flask run