Name: biolink-beacon
Owner: NCATS Data Translator Project - Tangerine Team
Description: Monarch Biolink Knowledge Beacon implementation (as a Python Flask application)
Created: 2017-06-26 17:56:11.0
Updated: 2017-07-19 01:10:15.0
Pushed: 2017-11-08 15:51:35.0
Homepage: null
Size: 37
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|---|---|
Richard Bruskiewich | 2017-11-08 15:51:12.0 | 29 |
Lance Hannestad | 2017-07-28 22:35:25.0 | 23 |
Other Committers
User | Most Recent Commit | # Commits |
---|
Monarch Biolink Knowledge Beacon implementation (as a Python Flask application).
This project is designed to run as a Docker container. Note that although the Docker client used to manage containers runs on several operating systems, the container engine currently only runs under Linux. See the Docker Guide for details on how to install Docker.
Then with Docker installed, you can build an image from the Dockerfile
provided in the main directory of this project.
iolink-beacon
er build -t ncats:biolink .
Note that depending on your Docker installation, you may need to run the docker command as 'sudo'. Within the Docker container, the Flask app is set to run at 0.0.0.0:5000
. You can re-map ports when you run a Docker image with the -p
flag.
er run --rm -p 8080:5000 ncats:biolink
Now open your browser to localhost:8080
to see the application running.
You must install flask and ontobio. Then in the terminal run the project as described in the flask quickstart.
On Linux and OSX:
port FLASK_APP=main.py
ask run
On Windows:
t FLASK_APP=main.py
ask run
By default it runs at http://127.0.0.1:5000/. You can change the host and port with -h
and -p
flags as such:
ask run -h 0.0.0.0 -p 8080
Make sure you are using the latest version of python. It is recommended that you install and use this project from within a virtual environment.