Skip to content
This repository has been archived by the owner on Feb 12, 2021. It is now read-only.

Latest commit

 

History

History
70 lines (47 loc) · 1.28 KB

README.md

File metadata and controls

70 lines (47 loc) · 1.28 KB

PDC Server Stack DevOps Scripts

Deploy with Docker Hub

This will also install Docker and disable transparent_hugepage for MongoDB.

git clone https://github.com/pdcbc/stack.git
cd stack
make

PDC images are found at https://hub.docker.com/r/pdcbc

Dependencies

To install without dependencies type:

make deploy

Or install just the dependencies:

make configure

Development

To build using select local repositories:

  • Copy ./dev/dev.yml-sample to ./dev/dev.yml
  • This file has been excluded in .gitignore
  • Uncomment the appropriate line in ./dev/dev.yml
  • e.g. build: './dev/' in ./dev/dev.yml
  • Clone repositories to dev
  • cd dev; git clone https://github.com/pdcbc/

Make them using dev mode:

MODE=dev make

Settings

The default tag is latest, which pulls from the master branches on GitHub. Prod tags tied to releases will be used when this project leaves alpha.

Use dev tags:

TAG=dev make

Mix tag changes and local repos with:

MODE=dev TAG=dev make

Paths

Default paths are broken into private and configuration (not private) folders. For consistency, use a similar path for this repo.

  • DevOps: /pdc/stack
  • Private: /pdc/data/private
  • Configuration: /pdc/data/config