Giter VIP home page Giter VIP logo

hbp-sp8-mip-local's Introduction

MIP Local alternative deployment scripts

Disclaimer: The authors of this document are not in charge of the MIP development and its deployment scripts. They have limited knowledge of most of the elements that are deployed. No guaranties are offered as to the correctness of this document.

Introduction

This repository contains alternative deployment scripts written in order to demonstrate the feasibility of a simpler deployment procedure.

By using more comprehensively the docker technology, it allows for:

  1. a simpler installation and deployment process,
  2. lower software requirements on the host server,
  3. less infrastructure services as part of the platform, and finally,
  4. improved security as all the services are isolated from the physical network, unless explicitly published.

If anything, the current scripts contains still too many tunable options, which should be simplified.

At this time, and due to the lack of documentation, the following scripts deploy the MIP-local platform without the Data Factory, as it can be done based on version 2.5.3, from Dec 14 2017.

See also the official documentation of the deployment scripts project on Github:

Software deployed

These scripts deploy the following software:

  1. On the host machine to support the platform:

  2. As docker images as services:

  3. As docker images, to setup the various databases required:

Requirements

  • Ubuntu 16.04 system or RHEL 7.3+
  • git

Deployement

  1. Install the software required

    $ sudo ./install-$OS.sh # OS=ubuntu or OS=redhat, depending on your system
  2. Configure the platform for anything you wish or need to modify by adding your settings in settings.local.sh

    For reference, you can see all the parameters which can be tuned in settings.default.sh.

  3. Optional, you can start a web interface to control the docker engine:

    $ ./portainer.sh 
  4. Load the research data into the LDSM

    If you intend to load the research data stored on gitlab (adni, edsd and ppmi datasets), login first:

    $ docker login registry.gitlab.com

    Then

    $ ./load_data.sh
    • If necessary, adapt the Database configuration options in settings.local.sh.
    • Check settings.default.sh to see the databases which are currently used by default. You can adapt the list DB_SETUP_LIST to this effect.
  5. Start the platform with

    $ ./run.sh up -d
  6. Add in the folder pointed by ${DB_DATASETS} your CSV files, PostgresRAW will pick the up and create tables you can query right away automatically.

    If your clinical data contains variables used as part of the MIP CDEs, these will be taken into account automatically as long as you name your file harmonized_clinical_data.csv.

NOTES: if you set SHOW_SETTINGS=true a printout of all the settings which will be used will be printed before doing anything.

Settings

All the settings have default values, but you can change them by either exporting in your shell the setting with its value, or creating settings.local.sh in the same folder as settings.sh:

: ${VARIABLE:="Your value"}

Note: To find the exhaustive list of parameters available please take a look at settings.default.sh.

Settings are taken in the following order of precedence:

  1. Shell Environment, or on the command line
  2. Deployment-specific settings.local.sh
  3. Default settings settings.default.sh

hbp-sp8-mip-local's People

Contributors

sambuc avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.