Go to file
2019-08-15 15:57:40 +02:00
app Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-08-15 15:57:40 +02:00
tests Add some tests 2019-07-09 15:41:28 +02:00
.flaskenv Remove e-mail configuration from .flaskenv. 2019-07-08 11:27:10 +02:00
.gitignore Fix 3/3 2019-08-06 16:09:41 +02:00
config.py Rename scheduler function 2019-08-13 14:27:02 +02:00
opaque.py Fix codestyle. 2019-08-07 14:35:01 +02:00
README.md Add information to README. 2019-08-15 12:03:16 +02:00
requirements.txt Use Flask-APScheduler. Move docker swarm logic to scheduler. 2019-08-13 14:10:50 +02:00

Opaque

Dependencies

Setup

In order to run jobs, Opaque needs access to a Docker swarm manager. Currently it's not possible to specify a dedicated Docker host, instead Opaque expects the executing system to to be a swarm manager.

  1. Get the source code and navigate into the code directory
git clone https://gitlab.ub.uni-bielefeld.de/sfb1288inf/opaque.git
cd opaque
  1. Create Docker swarm

2.1. Local

# Set the variable values in setup_local_swarm.sh (nano setup_local_swarm.sh)
./setup_local_swarm.sh

2.2. Distributed

2.2.1. Initialize swarm on manager machine

docker swarm init
  1. Create Python virtual environment, activate it and install the required python packages.
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt