##// END OF EJS Templates
docs: add advice of upgrading pip and setuptools in new virtualenvs...
Mads Kiilerich -
r5519:8c234ae2 stable
parent child Browse files
Show More
@@ -34,6 +34,7 b' To get started with development::'
34 34 cd kallithea
35 35 virtualenv ../kallithea-venv
36 36 source ../kallithea-venv/bin/activate
37 pip install --upgrade pip setuptools
37 38 python2 setup.py develop
38 39 paster make-config Kallithea my.ini
39 40 paster setup-db my.ini --user=user --email=user@example.com --password=password --repos=/tmp
@@ -39,6 +39,7 b' repository, follow the instructions belo'
39 39 cd kallithea
40 40 virtualenv ../kallithea-venv
41 41 source ../kallithea-venv/bin/activate
42 pip install --upgrade pip setuptools
42 43 python2 setup.py develop
43 44 python2 setup.py compile_catalog # for translation of the UI
44 45
@@ -64,9 +65,11 b' An additional benefit of virtualenv_ is '
64 65
65 66 virtualenv /srv/kallithea/venv
66 67
67 - Activate the virtualenv_ in your current shell session by running::
68 - Activate the virtualenv_ in your current shell session and make sure the
69 basic requirements are up-to-date by running::
68 70
69 71 source /srv/kallithea/venv/bin/activate
72 pip install --upgrade pip setuptools
70 73
71 74 .. note:: You can't use UNIX ``sudo`` to source the ``virtualenv`` script; it
72 75 will "activate" a shell that terminates immediately. It is also perfectly
@@ -134,6 +134,7 b' In a command prompt type (adapting paths'
134 134
135 135 cd C:\Kallithea\Env\Scripts
136 136 activate
137 pip install --upgrade pip setuptools
137 138
138 139 The prompt will change into "(Env) C:\\Kallithea\\Env\\Scripts" or similar
139 140 (depending of your folder structure). Then type::
@@ -183,6 +183,7 b' In that CMD (loaded with VS2008 PATHs) t'
183 183
184 184 cd C:\Kallithea\Env\Scripts (or similar)
185 185 activate
186 pip install --upgrade pip setuptools
186 187
187 188 The prompt will change into "(Env) C:\\Kallithea\\Env\\Scripts" or similar
188 189 (depending of your folder structure). Then type::
General Comments 0
You need to be logged in to leave comments. Login now