Files
web2.0-backend/linux_install.md
2017-10-25 20:32:06 +03:00

928 B

Linux/Mac installation instructions

Install dependencies

Dependency list

  • Python >3.5
  • PostgreSQL >9.5
  • pip3
  • virtualenv
  • npm

Install with apt:

sudo apt install python3
sudo apt install python3-pip
sudo apt install postgresql
sudo pip3 install virtualenv
sudo apt install npm

More info about PostgreSQL at: https://www.postgresql.org/

These packages might be needed on certain platforms:

  • 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

Assuming we are at the root of this repository and virtualenv is one level above.

. ../virtualenv.sikweb/bin/activate

Run install wizard

Run the install wizard with

bash setup.sh

and follow the instructions.

Done!