Skip to content

janelia-flyem/assignment-manager

Repository files navigation

Assignment Responder Picture

Build Status GitHub last commit GitHub commit merge status Python 3.7 Requirements Status

Summary

This repository contains the assignment manager system.

Configuration

This system depends on the Centralized Config system, and will use the following configurations:

  • rest_services
  • servers

The location of the configuration system is in the config.cfg file as CONFIG.

To rebuild the docker container:

docker build --tag registry.int.janelia.org/flyem/assignment-manager .
docker push registry.int.janelia.org/flyem/assignment-manager

Deployment

After installing on the production server, set up the environment for Docker. Rename env_template to .env, and change any values enclosed in angle brackets.

To create a new database instance:

sudo mkdir /data/mysql/assignment
sudo chown mysql:mysqldba /data/mysql/assignment
docker-compose -f docker-compose-prod.yml up db

Take the following steps to start the system:

cd /opt/flask/assignment-responder
docker-compose -f docker-compose-prod.yml down
docker image ls
docker image rm <image id from above for assignment-manager>
docker volume rm assignment-manager_static_volume
docker pull registry.int.janelia.org/flyem/assignment-manager
docker-compose -f docker-compose-prod.yml up -d

Development

  1. Modify api/config.cfg to change MYSQL_DATABASE_HOST as needed
  2. docker-compose up -d

Author Information

Written by Rob Svirskas ([email protected])

Scientific Computing