|
@@ -1,10 +1,18 @@
|
1
|
|
-./autogen.sh
|
2
|
|
-./configure
|
3
|
|
-make
|
4
|
|
-spawn-fcgi -d . -n -p 9000 -a 127.0.0.1 -- src/pyfcgi -S -e foo -E entrypoint -A
|
5
|
|
-#or
|
6
|
|
-spawn-fcgi -d . -n -p 9000 -a 127.0.0.1 -- src/pyfcgi -S -e foo_pep333 -E entrypoint
|
7
|
|
-#logging to file example :
|
8
|
|
--L '/tmp/foo.log;0xff;{datetime} {msg} {ident}'
|
|
1
|
+Patch python3 headers :
|
|
2
|
+-----------------------
|
|
3
|
+ # cd /usr/include/python3.7m/
|
|
4
|
+ # patch -p1 < PATH_TO/includes_python3.7m.patch
|
|
5
|
+
|
|
6
|
+Building & running pyfcgi :
|
|
7
|
+---------------------------
|
|
8
|
+ $ ./autogen.sh
|
|
9
|
+ $ ./configure
|
|
10
|
+ $ make
|
9
|
11
|
|
10
|
|
-TODO: write a readme
|
|
12
|
+ $ spawn-fcgi -d . -n -p 9000 -a 127.0.0.1 -- src/pyfcgi -S -e foo -E entrypoint -A
|
|
13
|
+or
|
|
14
|
+ $ spawn-fcgi -d . -n -p 9000 -a 127.0.0.1 -- src/pyfcgi -S -e foo_pep333 -E entrypoint
|
|
15
|
+
|
|
16
|
+logging to file example :
|
|
17
|
+-------------------------
|
|
18
|
+-L '/tmp/foo.log;0xff;{datetime} {msg} {ident}'
|