Software Requirements

  • Python (we currently recommend Python 3.8)

  • Git

Ackrep Setup:

  1. (Optional:) Create new environment (e.g. using anaconda).

  2. Create a new empty root directory for the project (e.g. “ackrep”)

    cd <root directory>

  3. Clone ackrep_data

    git clone

  4. Clone ackrep_core

    git clone

    Your project directory should look like this:

     ├── ackrep/
     │   ├── ackrep_data/                   ← separate repository for ackrep_data
     │   │   ├── .git/
     │   │   └── ...
     │   │
     │   └── ackrep_core/                   ← separate repository for ackrep_core
     │       ├── .git/
     │       └── ...
     └── erk/                               ← if this is your first visit here, dont worry about this.
         └── erk-data                         if you want to use pyerk functionality, checkout the links below
             └─ ocse/
                 ├── .git/
                 └── ...

    (PyERK documentation, PYERK repository)

  5. Enter the ackrep_core-repo directory, run the following commands from there.

    cd ackrep_core

  6. Install dependencies

    pip install -r requirements.txt

  7. Setup ackrep

    pip install -e .

  8. Validate Installation

    ackrep --version
    # Version 0.6.0
  9. Setup the database

    python makemigrations
    python migrate --noinput --run-syncdb

Setup advanced control theory algorithms

With Docker


Installing docker comes with some challenges, especially for windows users. But the advantage to be gained is the ability to execute any piece of ackrep code in a deliberately set up environment with all necessary dependancies already installed. One can be fairely certain, that the code inside the environment will behave as intended even after a long period of time.

Now you are ready to execute all examples on your own machine:
Continue with running the code from the command line.

Without Docker


If you do not already have docker set up on your machine, this is a relatively fast way to get startet. Most of the examples should be possible to execute without the need for docker. But some of the Ackrep examples require a speacial environment to run in, therefore usually docker containers are used.

Now you are ready to execute some examples on your own machine:
Continue with running the code from the command line.