diff --git a/README.txt b/README.txt --- a/README.txt +++ b/README.txt @@ -77,7 +77,7 @@ the `Sphinx HTML build directory <@doc_d Local: -- Deployment documentation: `Kallithea deployment documentation `_ +- Deployment documentation: `Kallithea deployment documentation `_ `(Python2) `_ - Deployment repository: `Kallithea deployment repository `_ - Installed instance: `Kallithea installed instance `_ @@ -251,7 +251,6 @@ Activate environment: pip install --upgrade -e . alembic -c config.ini upgrade head - alembic -c development.ini upgrade head ## or mkdir -p data kallithea-cli db-create -c config.ini --user=admin --password=ktBE216 --email=edv@ws-gruppe.de --repos="${HOME}"/project/kallithea/repos @@ -260,6 +259,7 @@ Activate environment: # `node.js - How can I update NodeJS and NPM to their latest versions? - Stack Overflow `_ + mkdir -p "${HOME}/.nvm" # clean ~/.bashrc afterwards curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash . ~/.profile.d/.nvm @@ -270,6 +270,25 @@ Activate environment: "${HOME}"/project/kallithea/kallithea-venv/bin/kallithea-cli index-create -c "${HOME}"/project/kallithea/kallithea/config.ini --full -------------------------------------------------- +:rem:`||:sec:||`\ Python 3.6 on Ubuntu 16.04 +-------------------------------------------------- + +See `software installation - How do I install Python 3.6 using apt-get? - Ask Ubuntu `_ + +.. code-block:: sh + + sudo add-apt-repository -y ppa:jblgf0/python + sudo apt-get update + sudo apt-get install python3.6 python3.6-dev + +For pip(1): + +.. code-block:: sh + + curl https://bootstrap.pypa.io/pip/3.6/get-pip.py | sudo python3.6 + # curl https://bootstrap.pypa.io/get-pip.py | sudo python3.7 # min: 3.7 + +-------------------------------------------------- :rem:`||:sec:||`\ Initial setup -------------------------------------------------- diff --git a/doc/doc_defs.inc b/doc/doc_defs.inc --- a/doc/doc_defs.inc +++ b/doc/doc_defs.inc @@ -49,7 +49,7 @@ .. \|:here:| -.. _`Kallithea deployment documentation`: /kallithea/_mnt/kallithea-deploy/html/index.html +.. _`Kallithea deployment documentation`: /kallithea-deploy/html/index.html .. _`Kallithea deployment repository`: /kallithea/public/kallithea-deploy .. _`Kallithea installed instance`: /kallithea/public/kallithea