Show More
@@ -51,4 +51,5 b' syntax: regexp' | |||
|
51 | 51 | ^\.idea$ |
|
52 | 52 | ^\.cache$ |
|
53 | 53 | ^\.pytest_cache$ |
|
54 | ^venv$ | |
|
54 | 55 | /__pycache__$ |
@@ -33,8 +33,8 b' bash shell::' | |||
|
33 | 33 | |
|
34 | 34 | hg clone https://kallithea-scm.org/repos/kallithea |
|
35 | 35 | cd kallithea |
|
36 |
python3 -m venv |
|
|
37 |
. |
|
|
36 | python3 -m venv venv | |
|
37 | . venv/bin/activate | |
|
38 | 38 | pip install --upgrade pip setuptools |
|
39 | 39 | pip install --upgrade -e . -r dev_requirements.txt python-ldap python-pam |
|
40 | 40 | kallithea-cli config-create my.ini |
@@ -53,8 +53,8 b' repository, use the following commands i' | |||
|
53 | 53 | |
|
54 | 54 | hg clone https://kallithea-scm.org/repos/kallithea -u stable |
|
55 | 55 | cd kallithea |
|
56 |
python3 -m venv |
|
|
57 |
. |
|
|
56 | python3 -m venv venv | |
|
57 | . venv/bin/activate | |
|
58 | 58 | pip install --upgrade pip setuptools |
|
59 | 59 | pip install --upgrade -e . |
|
60 | 60 | python3 setup.py compile_catalog # for translation of the UI |
@@ -81,6 +81,8 b' problematic when upgrading the system or' | |||
|
81 | 81 | An additional benefit of virtualenv is that it doesn't require root privileges. |
|
82 | 82 | |
|
83 | 83 | - Don't install as root - install as a dedicated user like ``kallithea``. |
|
84 | If necessary, create the top directory for the virtualenv (like | |
|
85 | ``/srv/kallithea/venv``) as root and assign ownership to the user. | |
|
84 | 86 | |
|
85 | 87 | - Create a new virtual environment, for example in ``/srv/kallithea/venv``, |
|
86 | 88 | specifying the right Python binary:: |
@@ -79,7 +79,7 b' with home in ``/home/kallithea`` and pla' | |||
|
79 | 79 | |
|
80 | 80 | For experiments, it might be convenient to run everything as yourself and work |
|
81 | 81 | inside a clone of Kallithea, with the ``.ini`` and SQLite database in the root |
|
82 | of the clone. | |
|
82 | of the clone, and a virtualenv in ``venv``. | |
|
83 | 83 | |
|
84 | 84 | |
|
85 | 85 | Python environment |
General Comments 0
You need to be logged in to leave comments.
Login now