##// 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 cd kallithea
34 cd kallithea
35 virtualenv ../kallithea-venv
35 virtualenv ../kallithea-venv
36 source ../kallithea-venv/bin/activate
36 source ../kallithea-venv/bin/activate
37 pip install --upgrade pip setuptools
37 python2 setup.py develop
38 python2 setup.py develop
38 paster make-config Kallithea my.ini
39 paster make-config Kallithea my.ini
39 paster setup-db my.ini --user=user --email=user@example.com --password=password --repos=/tmp
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 cd kallithea
39 cd kallithea
40 virtualenv ../kallithea-venv
40 virtualenv ../kallithea-venv
41 source ../kallithea-venv/bin/activate
41 source ../kallithea-venv/bin/activate
42 pip install --upgrade pip setuptools
42 python2 setup.py develop
43 python2 setup.py develop
43 python2 setup.py compile_catalog # for translation of the UI
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 virtualenv /srv/kallithea/venv
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 source /srv/kallithea/venv/bin/activate
71 source /srv/kallithea/venv/bin/activate
72 pip install --upgrade pip setuptools
70
73
71 .. note:: You can't use UNIX ``sudo`` to source the ``virtualenv`` script; it
74 .. note:: You can't use UNIX ``sudo`` to source the ``virtualenv`` script; it
72 will "activate" a shell that terminates immediately. It is also perfectly
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 cd C:\Kallithea\Env\Scripts
135 cd C:\Kallithea\Env\Scripts
136 activate
136 activate
137 pip install --upgrade pip setuptools
137
138
138 The prompt will change into "(Env) C:\\Kallithea\\Env\\Scripts" or similar
139 The prompt will change into "(Env) C:\\Kallithea\\Env\\Scripts" or similar
139 (depending of your folder structure). Then type::
140 (depending of your folder structure). Then type::
@@ -183,6 +183,7 b' In that CMD (loaded with VS2008 PATHs) t'
183
183
184 cd C:\Kallithea\Env\Scripts (or similar)
184 cd C:\Kallithea\Env\Scripts (or similar)
185 activate
185 activate
186 pip install --upgrade pip setuptools
186
187
187 The prompt will change into "(Env) C:\\Kallithea\\Env\\Scripts" or similar
188 The prompt will change into "(Env) C:\\Kallithea\\Env\\Scripts" or similar
188 (depending of your folder structure). Then type::
189 (depending of your folder structure). Then type::
General Comments 0
You need to be logged in to leave comments. Login now