From 3e6ccc96a11440163e134d117f533815757c86ee Mon Sep 17 00:00:00 2001 From: jar3b Date: Mon, 25 Apr 2016 11:06:49 +0300 Subject: [PATCH] Renamed wsgi module --- README.md | 6 ++++++ passenger_wsgi.py => wsgi.py | 0 2 files changed, 6 insertions(+) rename passenger_wsgi.py => wsgi.py (100%) diff --git a/README.md b/README.md index ff45d6d..9d95bf9 100644 --- a/README.md +++ b/README.md @@ -164,6 +164,12 @@ _Внимание_! Только Python 3 (для 2.7 пока есть отде 5. Для проверки работы выполните `sudo -H -u fias python3 passenger_wsgi.py`, по адресу `http://example.com:8087/find/москва` Вы должны увидеть результаты запроса. +### Установка Web-сервера (для Debian, на примере nginx + gunicorn, без virtualenv) +- Установим nginx и gunicorn: + ``` + sudo apt-get install nginx + sudo pip3 install gunicorn + ``` ## Api diff --git a/passenger_wsgi.py b/wsgi.py similarity index 100% rename from passenger_wsgi.py rename to wsgi.py