Harena's API for managing users and clinical cases.
sudo apt-get install -y wget
wget https://github.com/datasci4health/harena-manager/blob/master/docker-compose.yml
sudo docker-compose up
Make sure you have node.js and npm already installed (see system requirements for more details).
//to do
sudo docker run datasci4health/harena-logger:latest
First, clone this repository and enter the folder:
git clone https://github.com/datasci4health/harena-logger
cd harena-logger
cd modules/relayer # entering the source folder
pip3 install -r requirements.txt # installing requirements packages for python
export FLASK_APP=server.py # defining flask application
flask run # running the application
//to do
- flask
- flask-cors
- flask-restful
- pymongo
- kafka-python
- coloredlogs
-
HARENA_LOGGER_BROKER_HOST = mqtt host
-
HARENA_LOGGER_BROKER_PORT = mqtt host port
-
HARENA_LOGGER_FLASK_HOST = Flask host
-
HARENA_LOGGER_FLASK_PORT = Flask port
-
HARENA_LOGGER_FLASK_DEBUG = Flask debug
-
HARENA_LOGGER_MONGODB_HOST = mongo host
-
HARENA_LOGGER_MONGODB_PORT = mongo port
-
HARENA_LOGGER_MONGODB_DB = mongo database name
-
HARENA_LOGGER_MONGODB_COLLECTION = mongo current document
//to do
- feature/< label >:
- new features.
- development:
- Protected. Must use pull request to merge new features.
- master:
- Version running at http://cloud.lis.ic.unicamp.br/harena/latest .
- Protected. Must use pull request to merge evolutions of the development branch.
- tags:
- Are used for creating Dockerhub image versions at https://cloud.docker.com/u/datasci4health/repository/docker/datasci4health/harena-logger .