From 10179a661311dce957b389fc0bcf2eb5039de195 Mon Sep 17 00:00:00 2001 From: Mehul Kar Date: Mon, 23 Feb 2015 11:05:57 -0800 Subject: [PATCH] Easy setup with Docker --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index df59c94..61c2611 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,18 @@ You're going to need: 4. Install all dependencies: `bundle install` 5. Start the test server: `bundle exec middleman server` +Or use the included Dockerfile! (must install Docker first) + +```shell +docker build -t slate . +docker run -d -p 4567:4567 slate +``` + You can now see the docs at . Whoa! That was fast! +*Note: if you're using the Docker setup on OSX, the docs will be +availalable at the output of `boot2docker ip` instead of `localhost:4567`.* + Now that Slate is all set up your machine, you'll probably want to learn more about [editing Slate markdown](https://github.com/tripit/slate/wiki/Markdown-Syntax), or [how to publish your docs](https://github.com/tripit/slate/wiki/Deploying-Slate). Examples of Slate in the Wild