git.s-ol.nu mmm / master README.md
master

Tree @master (Download .tar.gz)

README.md @masterview markup · raw · history · blame

mmm

mmm is not the www, because it runs on MoonScript.

live version at mmm.s-ol.nu.

What?

This repo is roughly split into three parts:

  • mmm.dom, mmm.component: polymorphic Lua/Moonscript modules web development.
    [code: mmm - docs]
  • mmmfs: the CMS/FS powering mmm.s-ol.nu.
    [code: mmm/mmmfs - article]
  • the page contents: includes my portfolio, blog, experiments...
    authored using a mix of Moonscript, Markdown and HTML, thanks to the power of mmmfs. [data: root, but you might want to read a bit about mmmfs before you jump in.

Building & Viewing

mmm is built using tup.
You can build the static content with:

$ tup init
$ tup

Then, run some kind of HTTP server from within root, e.g. with python 3 installed:

$ cd root
$ 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