aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-08-20 18:43:57 +0530
committerArun Isaac2022-08-20 18:54:40 +0530
commit6f86e0354262186a58b9dedfb8d03c29f496c4f3 (patch)
treedc8737a5eb2150e54d6aa0a961e71fd7fe25a136
parent8ceaf22197a08facce68e22b0fec2f8a815c1cc2 (diff)
downloadennum-6f86e0354262186a58b9dedfb8d03c29f496c4f3.tar.gz
ennum-6f86e0354262186a58b9dedfb8d03c29f496c4f3.tar.lz
ennum-6f86e0354262186a58b9dedfb8d03c29f496c4f3.zip
Document starting and stopping the local HTTP server.
* README.org (Usage): Documenting starting and stopping the local HTTP server.
-rw-r--r--README.org3
1 files changed, 2 insertions, 1 deletions
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