Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.14 KB

README.md

File metadata and controls

36 lines (22 loc) · 1.14 KB

Gabber API

The resource endpoints for Gabber projects, sessions and discussions (annotations and comments) on specific sessions.

Running locally

The API requires that JWT, MYSQL are set, and optionally Amazon S3 if you want to POST a session. These environmental variables should go into your .env file.

# Launch with docker-compose.yml
docker-compose up -d --build

# Setup the database
docker-compose exec web bash

export FLASK_APP=run.py
flask db init

# Once setup leave the container
exit

# View the logs of the Flask container
docker-compose logs -f web

Deployment Build

Gabber is currently stored on Docker Hub, and a new version can be pushed using the following command where $VERSION is the next version of the application.

source build.sh $VERSION