From ee4d2791fb0f3ccc17e3694bc98f6ea3c847a507 Mon Sep 17 00:00:00 2001 From: Robbe Van Herck Date: Wed, 23 Sep 2020 10:05:16 +0200 Subject: [PATCH] Better deploy instructions in README.md --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5146644..e2b655d 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,14 @@ The latest and greatest builds on master get deployed automatically using [travi For manual deployment, run ```bash -bundle exec nanoc deploy --target public +# Build the site for production +bundle exec nanon --env=prod + +# Run checks +bundle exec nanoc --env=prod check --deploy + +# Deploy it to the server +bundle exec nanoc deploy --target public --env=prod ``` If you want to deploy this on your own system for whatever reason, just serve the files using a webserver like nginx or Apache.