From 0bc75961c4a27ef5aaa215c3b8c67bbf986d5c39 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 20 May 2018 14:55:35 +0300 Subject: [PATCH] README.md: Add note about deploying --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 1195eb92..57ff1cbf 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,13 @@ You can see it live on the Internet at [picturingjordan.com](https://picturingjo ## Technology The site is built with the [Hugo](https://gohugo.io) static site generator and uses the [Bootstrap v4 Blog](https://github.com/alanorth/hugo-theme-bootstrap4-blog) theme built by myself and a small community of volunteers on GitHub. +## Deploying +Because hugo puts the compiled site in `public` you will need to modify your web server configuration to use that as the document root, or simply push `public` to the root of its own branch using git subtrees: + +``` +$ git subtree push --prefix=public origin public +``` + ## License This repository contains the code of [Bootstrap](https://github.com/twbs/bootstrap) which is licensed under the [MIT license](https://github.com/twbs/bootstrap/blob/v4-dev/LICENSE).