Skip to content

UCSC-MedBook/MedBook_

Folders and files

NameName
Last commit message
Last commit date
Oct 21, 2016
May 16, 2017
Oct 21, 2016
Jan 3, 2017
Oct 20, 2016
Dec 22, 2016
Dec 30, 2016
May 11, 2017
Jan 2, 2017
Nov 18, 2016
Nov 9, 2016
Dec 5, 2016
May 11, 2016
Nov 7, 2016
Nov 17, 2016
Oct 21, 2016
Nov 17, 2016
Nov 21, 2016
Oct 20, 2016
Jan 5, 2017

Repository files navigation

MedBook_

Build Status Stories in Ready

Build in docker and run:

git clone https://github.com/UCSC-MedBook/MedBook_.git

cd MedBook_

docker-compose -f docker-compose-build.yml build
docker-compose -f docker-compose-mongo.yml up -d

./scripts/prodStart.sh

Deploy to existing host, using Dockerhub images (without touching Mongo):

Update the checkout to get the latest image versions, then pull those images

cd MedBook_
git fetch
git pull
./dev-ops/prepare_for_deploy.sh

Enter tmux:

tmux a

Bring the existing dockers down: Ctrl-C in the appropriate tmux pane

Bring the new dockers up:

./scripts/prodStart.sh

And exit tmux: Ctrl-b , then press d

For setting up a new production machine, see here.

Documentation changes

For documention or devops-only changes that do NOT affect the docker images, add [skip ci] to the commit messages. This will prevent Travis from rebuilding (and if on master, pushing to dockerhub) the images.