Browse Source

better uwsgi doc, install uwsgi with pip

Guénaël Muller 6 years ago
parent
commit
3fed567a7f
1 changed files with 3 additions and 2 deletions
  1. 3 2
      README.md

+ 3 - 2
README.md View File

19
     sudo apt update
19
     sudo apt update
20
     sudo apt install git
20
     sudo apt install git
21
     sudo apt install python3 python3-venv python3-dev python3-pip
21
     sudo apt install python3 python3-venv python3-dev python3-pip
22
-    sudo apt install uwsgi uwsgi-plugin-python
23
 
22
 
24
 ### Get the source ###
23
 ### Get the source ###
25
 
24
 
84
 
83
 
85
 Run all services with uwsgi
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
     # set tracim_conf_file path
88
     # set tracim_conf_file path
88
-    set TRACIM_CONF_PATH="$(pwd)/development.ini"
89
+    export TRACIM_CONF_PATH="$(pwd)/development.ini"
89
     # pyramid webserver
90
     # pyramid webserver
90
     uwsgi -d /tmp/tracim_web.log --http-socket :6543 --wsgi-file wsgi/web.py -H env --pidfile /tmp/tracim_web.pid
91
     uwsgi -d /tmp/tracim_web.log --http-socket :6543 --wsgi-file wsgi/web.py -H env --pidfile /tmp/tracim_web.pid
91
     # webdav wsgidav server
92
     # webdav wsgidav server