git.s-ol.nu mmm / f204fc4
little meta-link updates s-ol 19 days ago
3 changed file(s) with 19 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
2424 $ tup init
2525 $ tup
2626
27 Then, run some kind of HTTP server from within `root`, e.g. with python 3 installed:
27 Next you can render a sqlite3 mmmfs database using
28
29 $ moon build/render_all.moon db.sqlite3
30
31 Then, run some kind of HTTP server from within `out`, e.g. with python 3 installed:
2832
2933 $ cd root
3034 $ python -m http.server
3741
3842 $ tup monitor -f -a
3943
44 ### Dependencies
45 You will need:
46
47 - [MoonScript][moonscript]: `luarocks install moonscript`
48 - [lua-sqlite3](https://luarocks.org/modules/moteus/sqlite3): `luarocks install sqlite3`
49 - [discount](https://luarocks.org/modules/craigb/discount): `luarocks install discount` (requires libmarkdown2)
50 - [busted](https://olivinelabs.com/busted/): `luarocks install busted` (for testing only)
51
4052 [moonscript]: https://moonscript.org/
4153 [mmm]: https://mmm.s-ol.nu/
4254 [tup]: https://gittup.org/tup
66 i = math.ceil math.random! * num
77 select i, ...
88
9
109 iconlink = (href, src, alt, style) -> a {
1110 class: 'iconlink',
11 target: '_blank',
12 rel: 'me',
1213 :href,
13 target: '_blank',
1414 img :src, :alt, :style
1515 }
1616
6969 }
7070 div {
7171 class: 'icons',
72 iconlink 'https://github.com/s-ol/mmm', 'https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/github.svg',
73 iconlink 'https://twitter.com/S0lll0s', 'https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/twitter.svg',
72 iconlink 'https://github.com/s-ol', 'https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/github.svg', 'github'
73 iconlink 'https://merveilles.town/@s_ol', 'https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/mastodon.svg', 'mastodon'
74 iconlink 'https://twitter.com/S0lll0s', 'https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/twitter.svg', 'twitter'
7475 iconlink 'https://webring.xxiivv.com/#random', 'https://webring.xxiivv.com/icon.black.svg', 'webring',
7576 { height: '1.3em', 'margin-left': '.3em', 'margin-top': '-0.12em' }
7677 }
1717 '.'
1818 br!
1919 'You can find the source code of everything '
20 a { 'here', href: 'https://github.com/s-ol/mmm' }
20 a { 'here', href: 'https://git.s-ol.nu/mmm' }
2121 '.'
2222 br!
2323 'Most of the inner-workings of this page are documented in '