Installing Addok

Dependencies

  • Redis
  • python >= 3.7

Install using a virtualenv

  1. Install dependencies:

    sudo apt-get install redis-server python3 python3-dev python-pip python-virtualenv
    
  2. create a virtualenv:

    virtualenv addok --python=/usr/bin/python3
    
  3. active virtualenv:

    source addok/bin/activate
    
  4. install python packages:

    pip install addok
    

Using Cython (optional)

For a performance boost, you can use Cython:

pip install cython
pip install --no-binary :all: falcon
pip install --no-binary :all: addok

Note: this is not recommended for development.

Note: --no-binary option is only available for recent pip versions, to make sure you're running the latest, run pip install -U pip.

What to do next?

Now you certainly want to configure Addok, install plugins or directly import data.

See also the full installation tutorial.