From 6f86e0354262186a58b9dedfb8d03c29f496c4f3 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sat, 20 Aug 2022 18:43:57 +0530 Subject: Document starting and stopping the local HTTP server. * README.org (Usage): Documenting starting and stopping the local HTTP server. --- README.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index 466405d..3a1d0bc 100644 --- a/README.org +++ b/README.org @@ -54,7 +54,7 @@ Add the path to the cloned repository to your load path, and load ennum. * Usage -Set up /ennum-blog/ with settings relevant for your blog, and run /M-x ennum-publish/. A simple sample /ennum-blog/ is given below. For detailed documentation of all available settings, see its docstring. +Set up /ennum-blog/ with settings relevant for your blog. A simple sample /ennum-blog/ is given below. For detailed documentation of all available settings, see its docstring. #+BEGIN_SRC emacs-lisp (setq ennum-blog '(:working-directory "~/blog" @@ -69,6 +69,7 @@ Set up /ennum-blog/ with settings relevant for your blog, and run /M-x ennum-pub :blog-domain "example.org" :blog-license "All content is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.")) #+END_SRC +Run /M-x ennum-publish/ to export the blog to the output directory. To start a local HTTP server (by default, listening on http://localhost:8080) serving the exported output, run /M-x ennum-server-start/. You can use this to preview the exported output. Once happy with the output, shut down the server using /M-x ennum-server-stop/. * Post format -- cgit v1.2.3