blob: abd704ca251bbc7822eb62777fbcb288dd6464f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
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
|