extend FastCGI deployment example with virtualenv
This commit is contained in:
parent
64054ec029
commit
932274921c
@ -153,6 +153,9 @@ Next, copy'n'paste to `/var/www/isso.fcgi` (or whatever location you prefer):
|
|||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
#: uncomment if you're using a virtualenv
|
||||||
|
# import sys
|
||||||
|
# sys.insert(0, '<your_local_path>/lib/python2.7/site-packages')
|
||||||
|
|
||||||
from isso import make_app
|
from isso import make_app
|
||||||
from isso.core import Config
|
from isso.core import Config
|
||||||
|
Loading…
Reference in New Issue
Block a user