Show More
@@ -84,6 +84,10 b' An additional benefit of virtualenv is t' | |||
|
84 | 84 | If necessary, create the top directory for the virtualenv (like |
|
85 | 85 | ``/srv/kallithea/venv``) as root and assign ownership to the user. |
|
86 | 86 | |
|
87 | Make a parent folder for the virtualenv (and perhaps also Kallithea | |
|
88 | configuration and data files) such as ``/srv/kallithea``. Create the | |
|
89 | directory as root if necessary and grant ownership to the ``kallithea`` user. | |
|
90 | ||
|
87 | 91 | - Create a new virtual environment, for example in ``/srv/kallithea/venv``, |
|
88 | 92 | specifying the right Python binary:: |
|
89 | 93 |
@@ -74,6 +74,11 b' Kallithea can be installed in many diffe' | |||
|
74 | 74 | This will have to be writable by the running Kallithea service. The path to |
|
75 | 75 | this location will be configured in the database. |
|
76 | 76 | |
|
77 | For production setups, one recommendation is to use ``/srv/kallithea`` for the | |
|
78 | ``.ini`` and ``data``, place the virtualenv in ``venv``, and use a Kallithea | |
|
79 | clone in ``kallithea``. Create a ``kallithea`` user, let it own | |
|
80 | ``/srv/kallithea``, and run as that user when installing. | |
|
81 | ||
|
77 | 82 | For simple setups, it is fine to just use something like a ``kallithea`` user |
|
78 | 83 | with home in ``/home/kallithea`` and place everything there. |
|
79 | 84 |
General Comments 0
You need to be logged in to leave comments.
Login now