Skip to content
Web UI/API for the Epigenome Switchboard Project
HTML Python Shell Dockerfile
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs #6 fix up docs Jan 25, 2019
static/images revamp UI with accordian Dec 18, 2018
templates Change segmentation filter output page to temporarily disable json ou… Feb 21, 2019
.gitignore ignore .pyc files Dec 17, 2018
.travis.yml Revised travis file for branches Dec 18, 2018
Dockerfile Humble Pie ;-) awscli in Travis not in Dockefile Dec 18, 2018
Dockerfile_dev implemented Add Rule button Jan 25, 2019 Update Apr 24, 2019 Fixes issue #40 Mar 1, 2019
mkdocs.yml #20 - categorize EPISB documents - PR fix #3 Jan 29, 2019 Updating w/ Nathan + modify deploy script Dec 17, 2018
requirements.txt Removing strict version of Flask in requirements Jan 23, 2019 add mkdocs docs Jan 7, 2019

Episb hub

User documentation can be found at

Running the app for development

FLASK_APP="" flask run

Point browser to http://localhost:8888/

Running the app in a container

To build the episb-hub container locally and test, follow these steps:

  1. In the same directory as the Dockerfile:
$ docker build -t <docker image>:<tag optional> .
  1. Run the container from the image you just built:
$ docker run -d -p 80:80 --rm --name episb-hub <docker image>:<tag>
  1. Interact with and preview the site: http://localhost/

  2. When done, stop the container:

$ docker stop episb-hub

Running the app in a container with development mode

To run the container and have it reflect the changes, use the Dockerfile_dev to build the image:

$ docker build -f Dockerfile_dev -t episb .

To run the container:

$ docker run -v /path/to/host/episb-hub:/app -p 80:80 --rm --name episb-hub -e -e FLASK_DEBUG=1 episb flask run --host= --port=80

Now the development container will be viewable on your localhost and update with any changes you make.


Note that this site requires ElasticSearch indices as a data provider for regions, experiments, segmentations, etc. Flask looks for ES indices at port 8080 of the localhost.


These docs can be rendered locally for development with:

mkdocs serve -f mkdocs.yml

And can be built for deploy with:

mkdocs build -f episb-docs/mkdocs.yml -d "$RENDERED_DIR"

Or by running

You can’t perform that action at this time.