comparison docs/contributing.rst @ 8193:89e9aef9b983

py3: use "python3 -m venv" instead of virtualenv package
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 03 Feb 2020 16:30:08 +0100
parents 3a3d96dbd445
children 01aca0a4f876
comparison
equal deleted inserted replaced
8192:b7caa806cf6e 8193:89e9aef9b983
30 30
31 To get started with Kallithea development:: 31 To get started with Kallithea development::
32 32
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 python3 -m venv ../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 --upgrade -e . -r dev_requirements.txt python-ldap python-pam 38 pip install --upgrade -e . -r dev_requirements.txt python-ldap python-pam
39 kallithea-cli config-create my.ini 39 kallithea-cli config-create my.ini
40 kallithea-cli db-create -c my.ini --user=user --email=user@example.com --password=password --repos=/tmp 40 kallithea-cli db-create -c my.ini --user=user --email=user@example.com --password=password --repos=/tmp