This website works better with JavaScript.
首頁
說明
登入
ben
/
calefaction
镜像来自
https://github.com/earwig/calefaction
關註
1
收藏
1
複製
0
程式碼
版本發佈
0
Activity
瀏覽代碼
add wsgi
master
Ben Kurtovic
8 年之前
父節點
c131340b44
當前提交
f557ae9950
共有
4 個文件被更改
,包括
13 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
README.md
+2
-0
calefaction/eve/esi.py
+1
-0
requirements.txt
+8
-0
uwsgi.ini
+ 2
- 1
README.md
查看文件
@@ -29,4 +29,5 @@ Guide
### Deploy
...
uwsgi --ini uwsgi.ini
# proxy to 127.0.0.1:9001
+ 2
- 0
calefaction/eve/esi.py
查看文件
@@ -68,6 +68,8 @@ class EVESwaggerInterface:
Return the JSON result, if any. Raise EVEAPIError for any errors.
"""
... # cache requests
params = {"datasource": self._data_source}
headers = {
"Accept": "application/json",
+ 1
- 0
requirements.txt
查看文件
@@ -2,3 +2,4 @@ Flask==0.11.1
Flask-Mako==0.4
PyYAML==3.12
requests==2.12.4
uWSGI==2.0.14
+ 8
- 0
uwsgi.ini
查看文件
@@ -0,0 +1,8 @@
[uwsgi]
socket = 127.0.0.1:9001
wsgi-file = app.py
callable = app
virtualenv = venv
processes = 1
threads = 4
stats = 127.0.0.1:9002
Write
Preview
Loading…
取消
儲存