Skip to content

Mikanebu/deploy

This branch is 1 commit ahead of, 571 commits behind datopian/deploy:master.

Folders and files

NameName
Last commit message
Last commit date
Jul 18, 2017
Jul 4, 2017
Jul 18, 2017
Jul 18, 2017
Apr 5, 2017
Jul 20, 2017
Jul 4, 2017
Jul 13, 2017
Jul 10, 2017

Repository files navigation

Deployment automation for the DataHub.

Installation

Git clone then install the requirements:

pip install -r requirements.txt

Configuration

Set up your configuration variables in a file called .env. You can copy paste and .env.template.

Note: for multiline variable values you must replace newlines with \n and quote the variable e.g. a variable that looks like this originally:

----BEGIN PUBLIC KEY-----
...
...

Must be in the .env file like this:

PUBLIC_KEY="----BEGIN PUBLIC KEY-----\n...\n..."

Using

Run the script and it will list the available commands:

python main.py

Main one right now is:

python main.py docker

Sometimes this times out on the redeploy as the update hasn't finished. In that case just run:

Note: Node cluster with tag name ${PROJECT}-${STAGE} should exist on docker-cloud

python main.py docker_deploy

About

Deployment automation for the DataHub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%