diff --git a/readme.md b/readme.md index fab81ad..2b9c559 100644 --- a/readme.md +++ b/readme.md @@ -19,18 +19,28 @@ git checkout develop ## Install Python3 -Version >3.5 is needed. Installation instructions at: -https://www.python.org/ +Python version >3.5, pip and virtualenv are needed. + +Install with apt: +``` +sudo apt install python3 +sudo apt install python3-pip +sudo pip install virtualenv +``` ## Install PostgreSQL -Version >9.5 is needed. Installation instructions at: +Version >9.5 is needed. More info at: https://www.postgresql.org/ +Install with apt: +``` +sudo apt install postgresql +``` + ## Install dependencies -The following Debian packages are needed. -If you're using something else, find the corresponding packages +The following packages *might* need to be installed depending on your system. Find the corresponding packages from your distribution's repository. * python3-dev @@ -38,6 +48,8 @@ from your distribution's repository. * python3-cffi * libssl-dev +The packages shouldn't be needed on Ubuntu 16.04, which is the most tested platform. + Install them with apt: ``` @@ -47,19 +59,20 @@ sudo apt install python3-dev libffi-dev python3-cffi libssl-dev ## Create a virtual environment for python +Create a virtualenv in the parent directory. ``` virtualenv -p python3 ../virtualenv.sikweb ``` -### Activate virtualenv +## Activate virtualenv -Assuming we are at the root of this repository and virtualenv is one level above: +Assuming we are at the root of this repository and virtualenv is one level above. ``` . ../virtualenv.sikweb/bin/activate ``` -## Install wizard +## Run install wizard Run the install wizard with