aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2021-01-05 21:32:35 +0000
committers-ol <s+removethis@s-ol.nu>2021-01-05 21:32:35 +0000
commit518356cf3ce63207fe2760b9886d879ae4e31add (patch)
tree2874a3c16cdef5b79aec06f0999a5bfbf5067655
parentportfolio: remove matrix mixer (diff)
downloadmmm-518356cf3ce63207fe2760b9886d879ae4e31add.tar.gz
mmm-518356cf3ce63207fe2760b9886d879ae4e31add.zip
add luaposix dependency
-rw-r--r--Dockerfile1
-rw-r--r--README.md13
2 files changed, 8 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile
index ff7e2db..a119a53 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,6 +10,7 @@ RUN luarocks install discount DISCOUNT_INCDIR=/usr/include/x86_64-linux-gnu
RUN luarocks install sqlite3 && \
luarocks install moonscript && \
luarocks install http && \
+ luarocks install luaposix && \
luarocks install lua-cjson 2.1.0-1
COPY . /code
diff --git a/README.md b/README.md
index 3bc7cca..5ed80e5 100644
--- a/README.md
+++ b/README.md
@@ -8,17 +8,17 @@ What?
-----
This repo is roughly split into three parts:
-- `mmm.dom`, `mmm.component`: polymorphic Lua/Moonscript modules for web development.
+- `mmm.dom`, `mmm.component`: polymorphic Lua/Moonscript modules for web development.
\[[code: `mmm`](mmm) - [docs](https://mmm.s-ol.nu/meta)\]
-- `mmmfs`: the CMS/FS powering [mmm.s-ol.nu](https://mmm.s-ol.nu).
+- `mmmfs`: the CMS/FS powering [mmm.s-ol.nu](https://mmm.s-ol.nu).
\[[code: `mmm/mmmfs`](mmm/mmmfs) - [article](https://mmm.s-ol.nu/articles/mmmfs)\]
-- the page contents: includes my portfolio, blog, experiments...
- authored using a mix of Moonscript, Markdown and HTML, thanks to the power of `mmmfs`.
+- 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`](root), but you might want to read a bit about mmmfs before you jump in.]
Building & Viewing
------------------
-mmm is built using [tup][tup].
+mmm is built using [tup][tup].
You can build the static content with:
$ tup init
@@ -37,7 +37,7 @@ Required dependencies:
- [MoonScript][moonscript]: `luarocks install moonscript`
- [lua-http](https://github.com/daurnimator/lua-http): `luarocks install http`
-
+
For unit tests:
- [busted](https://olivinelabs.com/busted/): `luarocks install busted`
@@ -47,6 +47,7 @@ Not required but recommended:
- [lua-sqlite3](https://luarocks.org/modules/moteus/sqlite3): `luarocks install sqlite3` (for SQLite3 backend)
- [lua-cjson](https://www.kyne.com.au/~mark/software/lua-cjson.php): `luarocks install lua-cjson 2.1.0-1` (for server-side JSON support)
- [discount](https://luarocks.org/modules/craigb/discount): `luarocks install discount` (requires libmarkdown2, for Markdown support)
+- [luaposix](https://luarocks.org/modules/gvvaughan/luaposix): `luarocks install luaposix` (for SASS support)
### Live Reloading (during development)
During development you may want to automatically rebuild the project as files are changed.