Commit | Line | Data |
---|---|---|
ac49e024 AE |
1 | ## Jekyll Documentation theme |
2 | ||
3 | Build the site to see the instructions for using it. Or just go here: [http://idratherbewriting.com/documentation-theme-jekyll/](http://idratherbewriting.com/documentation-theme-jekyll/) | |
4 | ||
5 | ## Running the site in Docker | |
6 | ||
7 | You can also use Docker to directly build and run the site on your local machine. Just clone the repo and run the following from your working dir: | |
8 | ||
9 | ``` | |
10 | docker build --no-cache -t mydocs . | |
11 | ``` | |
12 | ||
13 | Once the build is complete, you can mount and run the whole site as follows: | |
14 | ||
15 | ``` | |
16 | docker run -v "$PWD:/src" -p 4000:4000 mydocs serve -H 0.0.0.0 | |
17 | ``` | |
18 | This is perhaps the easiest way to see how your site would actually look. | |
19 |