GithubHelp home page GithubHelp logo

bridgecrew-perf7 / nsaph-platform-deployment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nsaph-data-platform/nsaph-platform-deployment

0.0 0.0 0.0 1.75 MB

Deployment Descriptors and scripts for NSAPH Data Platform

License: Other

Shell 56.40% Python 13.93% R 2.69% Dockerfile 10.53% Common Workflow Language 16.46%

nsaph-platform-deployment's Introduction

NSAPH Data Platform (Infrastructure as a Code)

This platform is based on a deployment for CWL-Airflow developed by Harvard FAS RC in collaboration with Forome Association.

Essentially, this is a fork of: Apache Airflow + CWL in Docker with Optional Conda and R

Prerequisites

NB: The docker-compose.yaml in this project uses profiles and therefore requires docker-compose utility version 1.29+

Installation

Deployment Guide provides detailed information about deployment options and custom configurations.

Howto provides a list of required and optional steps that should be performed during the deployment.

Installation of CWL-Airflow on a dedicated host is relatively simple and is by and large covered by the Quick Start section below.

Advanced options are described in the Configuration Guide

If the host where you are installing CWL-Airflow is shared with other applications, especially those, using PostgreSQL, you should carefully read Howto and Configuration Guide

After you have deployed CWL-Airflow, test it with the included examples.

You should be aware of some useful commands.

Quick Start

This quick start is specific to NSAPH project. For testing general platform capabilities please refer to original CWL-Airflow deployment README

Full sequence of commands to copy and paste for a clean VM:

git clone https://github.com/NSAPH-Data-Platform/nsaph-platform-deployment.git
cd nsaph-platform-deployment
git submodule update --init --recursive
DOCKER_BUILDKIT=1 BUILDKIT_PROGRESS=plain docker-compose --env-file ./.env build
mkdir -p ./dags && cp -rf ./project/examples/* ./dags
docker-compose --env-file ./.env up -d

The whole process, when using a stable Internet connection should take from 20 minutes to a few hours depending on your Internet speed.

You can test the installation as described in Testing the installation section. The first two examples should run in both command-line mode and in Airflow UI. The third example requires Conda.

Testing

Testing is described in the Test Guide.

nsaph-platform-deployment's People

Contributors

mmcentre avatar sveshnikov-artyom avatar ashaporenko avatar mpolykovskiy avatar evgeniyabrosin 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.