From 326a17716ecb48da6d924442dfc89c6e94424a30 Mon Sep 17 00:00:00 2001 From: Nick Sellen Date: Sat, 15 Dec 2018 13:25:26 +0000 Subject: [PATCH] More informative readme --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index d4a1ee9..fa6c4e7 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,27 @@ then: And visit [localhost:4000](http://localhost:4000) to view the site. +There are two docker volumes used here: +* `vendor` - caches the ruby gems even if you recreate the containers +* `site` - holds the built site files to share them with httpd (and not clutter your local filesystem) + +A few useful things you might want to do: + + # check the status of the containers + docker-compose ps + + # stop all the containers (but don't remove them) + docker-compose stop + + # stop and remove the containers (but leave the volumes) + docker-compose down + + # remove everything + docker-compose down -v + + # bring it back to life from any state you happen to be in + docker-compose up -d + ### ... directly on your machine Install the dependencies for the project