Displaying 1 result from an estimated 1 matches for "msimplehttpserver".
Did you mean:
simplehttpserver
2019 Oct 21
0
[centos/centos.org] branch master updated: Just added simple python snippet for local view - works also on c8
...:latest
```
+## View the output
+You can just use python http server to view the locally rendered site, before pushing to httpd node.
+For this you can just use something like this :
+```
+cd /opt/data/git/centos.org
+which python3 >/dev/null && python3 -m http.server 9000 || python -mSimpleHTTPServer 9000
+
+```
#Site Layout
* Template and menu files live in /layouts
@@ -60,15 +68,3 @@ sudo podman run --rm -v /opt/data/git/centos.org/:/nanoc/:Z registry.centos.org/
* The /lib directory contains nanoc helper files used to process the site
* Compiled site content exists in /output
-...