aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2018-10-27 14:34:08 +0000
committers-ol <s-ol@users.noreply.github.com>2018-10-27 14:36:50 +0000
commitb5ff379eb327fd45ad9e46a24b5f6dad17f9017f (patch)
treeac1da7fbf5dd18f1e3c5adcecd0746eafb68538b
parentadd to webring (diff)
downloadmmm-b5ff379eb327fd45ad9e46a24b5f6dad17f9017f.tar.gz
mmm-b5ff379eb327fd45ad9e46a24b5f6dad17f9017f.zip
readme etc
-rw-r--r--README.md25
-rw-r--r--app/init.moon5
2 files changed, 29 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3b75144..abd704c 100644
--- a/README.md
+++ b/README.md
@@ -2,4 +2,29 @@ mmm
===
mmm is not the www, because it runs on [MoonScript][moonscript].
+live version at [mmm.s-ol.nu][mmm].
+
+Building & Viewing
+------------------
+mmm is built using [tup][tup].
+You can build the static content with:
+
+ $ tup init
+ $ tup
+
+Then, run some kind of HTTP server from within `dist`, e.g. with python 3 installed:
+
+ $ cd dist
+ $ python -m http.server
+
+You can then view the website in your browser.
+The example above will provide it at `http://localhost:8000`.
+
+During development you may want to automatically rebuild the project as files are changed.
+You can do this with the following command:
+
+ $ tup monitor -f -a
+
[moonscript]: https://moonscript.org/
+[mmm]: https://mmm.s-ol.nu/
+[tup]: https://gittup.org/tup
diff --git a/app/init.moon b/app/init.moon
index 684c30a..e0eecf6 100644
--- a/app/init.moon
+++ b/app/init.moon
@@ -70,7 +70,10 @@ table.insert routes, {
-- menu
append h1 {
- style: { position: 'relative' },
+ style: {
+ position: 'relative',
+ 'border-bottom': '1px solid #000'
+ },
'mmm',
a {
style: {