Pārlūkot izejas kodu

better uwsgi doc, install uwsgi with pip

Guénaël Muller 6 gadus atpakaļ
vecāks
revīzija
3fed567a7f
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. 3 2
      README.md

+ 3 - 2
README.md Parādīt failu

@@ -19,7 +19,6 @@ on Debian Stretch (9) with sudo:
19 19
     sudo apt update
20 20
     sudo apt install git
21 21
     sudo apt install python3 python3-venv python3-dev python3-pip
22
-    sudo apt install uwsgi uwsgi-plugin-python
23 22
 
24 23
 ### Get the source ###
25 24
 
@@ -84,8 +83,10 @@ create wsgidav configuration file for webdav:
84 83
 
85 84
 Run all services with uwsgi
86 85
 
86
+    # install uwsgi with pip ( unneeded if you already have uwsgi with python3 plugin enabled)
87
+    sudo pip3 install uwsgi
87 88
     # set tracim_conf_file path
88
-    set TRACIM_CONF_PATH="$(pwd)/development.ini"
89
+    export TRACIM_CONF_PATH="$(pwd)/development.ini"
89 90
     # pyramid webserver
90 91
     uwsgi -d /tmp/tracim_web.log --http-socket :6543 --wsgi-file wsgi/web.py -H env --pidfile /tmp/tracim_web.pid
91 92
     # webdav wsgidav server