Mercurial > kallithea
comparison docs/contributing.rst @ 6748:29e9cb56f26f
docs: recommend --upgrade for all pip installations in a virtualenv
As suggested by Mads Kiilerich.
Don't recommend this practice when no virtualenv is used, i.e. root
installation or --user installation: in this case upgrading existing packages
may be too disruptive. The user can still add it manually if he so chooses.
author | Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> |
---|---|
date | Thu, 06 Jul 2017 19:47:42 +0200 |
parents | a755bacaa725 |
children | 84d8cff41282 |
comparison
equal
deleted
inserted
replaced
6747:b39b9bb4a754 | 6748:29e9cb56f26f |
---|---|
33 hg clone https://kallithea-scm.org/repos/kallithea | 33 hg clone https://kallithea-scm.org/repos/kallithea |
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 pip install --upgrade pip setuptools |
38 pip install -e . | 38 pip install --upgrade -e . |
39 pip install -r dev_requirements.txt | 39 pip install --upgrade -r dev_requirements.txt |
40 gearbox make-config my.ini | 40 gearbox make-config my.ini |
41 gearbox setup-db -c my.ini --user=user --email=user@example.com --password=password --repos=/tmp | 41 gearbox setup-db -c my.ini --user=user --email=user@example.com --password=password --repos=/tmp |
42 gearbox serve -c my.ini --reload & | 42 gearbox serve -c my.ini --reload & |
43 firefox http://127.0.0.1:5000/ | 43 firefox http://127.0.0.1:5000/ |
44 | 44 |