diff options
| -rw-r--r-- | README.md | 25 | ||||
| -rw-r--r-- | app/init.moon | 5 |
2 files changed, 29 insertions, 1 deletions
@@ -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: { |
