summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2016-07-17 21:50:07 +0200
committercos <|cos|>2017-01-22 19:39:21 +0100
commit5784594f519990d1a9de12bd08559a025c7659ab (patch)
treeff4d626909931a6f7dbff0f71469b2d9bcca97ec
parent255a31c21a215bd06cd1884f958130b8e63d3322 (diff)
downloadmat-5784594f519990d1a9de12bd08559a025c7659ab.zip
Add an initial system description.
-rw-r--r--Makefile2
-rw-r--r--info/Makefile13
-rw-r--r--info/cooking_queue.pngbin0 -> 13534 bytes
-rw-r--r--info/index.md60
-rw-r--r--info/shopping_list_screen.pngbin0 -> 48862 bytes
5 files changed, 74 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8acae4d..4219cf0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-SUBDIRS = cgi-bin
+SUBDIRS = cgi-bin info
.PHONY: subdirs $(SUBDIRS)
diff --git a/info/Makefile b/info/Makefile
new file mode 100644
index 0000000..c9158a9
--- /dev/null
+++ b/info/Makefile
@@ -0,0 +1,13 @@
+all:
+ markdown index.md > index.html
+ convert -geometry 700x shopping_list_paper.jpg shopping_list_paper.png
+ convert -geometry 700x -crop 700x490+0+170 prepped_lunchboxes.jpg prepped_lunchboxes.png
+ convert -geometry 700x ingredients_ready.jpg ingredients_ready.png
+ convert -geometry 700x ingredients_chopped.jpg ingredients_chopped.png
+ convert -geometry 700x soup_making.jpg soup_making.png
+
+install:
+ install index.html $(DESTDIR)/var/www/vhost/mat.netizen.se
+
+publish:
+ scp index.html cooking_queue.png searchrecipes.png semi-manual.png shopping_list_paper.png shopping_list_screen.png prepped_lunchboxes.png ingredients_ready.png ingredients_chopped.png soup_making.png cos@lada.netizen.se:/var/www/vhost/mat.netizen.se/htdocs
diff --git a/info/cooking_queue.png b/info/cooking_queue.png
new file mode 100644
index 0000000..18af536
--- /dev/null
+++ b/info/cooking_queue.png
Binary files differ
diff --git a/info/index.md b/info/index.md
new file mode 100644
index 0000000..de3c04f
--- /dev/null
+++ b/info/index.md
@@ -0,0 +1,60 @@
+What is this!?
+==============
+
+Mat is a small recipe management, food planning & lunch box inventory system.
+It is likely of very low interest to others than me, given that it is merely
+hacked up to meet my personal needs. No attempts at all have been made at
+making it useful to anyone else but me. Yet, for the truely curious souls, the
+source code can be found at
+[http://git.netizen.se/mat/](http://git.netizen.se/mat/).
+
+How do I use it?
+----------------
+
+### Planning
+At the core of it all is a recipe database with ingredient lists, references to
+full cooking descriptions and a growing list of cooking comments. Of course
+more recipes make their way into the database over time and as the documented
+knowledge and experience increases, the data becomes more useful. Keeping this
+information at one place have made it easier for me to plan my meals, while at
+the same time raising the quality of them and making eating more interesting.
+Illustrated by an example, execution of a typical command looks like the
+screenshot below:
+
+![searchrecipes](searchrecipes.png)
+
+A meal preparation plan in its simplest possible meaningful form contains only
+one recipe. Illustrated by the picture below.
+
+![cooking queue](cooking_queue.png)
+
+### Shopping
+Generating shopping lists is a trivial, but quite useful, functionality to use
+after having planned what to cook. Occasionally I look at these lists in my
+phone while grocery shopping, but most times I print them to be able to easily
+make additions and conveniently tick items off it while at the store.
+
+![shopping list on screen](shopping_list_screen.png)
+![shopping list on paper](shopping_list_paper.png)
+
+### Cooking
+Lacking a futuristic humanoid kitchen robot, cooking is unfortunately mainly a
+manual process. I believe having access to recipe information with my comments
+from previous attempts at the dish, has at least prevented me from making a few
+errors.
+
+![ingredients ready](ingredients_ready.png)
+![ingredients chopped](ingredients_chopped.png)
+![soup making](soup_making.png)
+
+### Measuring
+"Messen ist Wissen."
+
+![semi manual](semi-manual.png)
+
+### Storing
+The prepared food is frozed in meal sized portions. Every lunch box is labeled
+with essential information in human readable form, as well as a machine
+readable code to make it possible to track it and to keep an inventory.
+
+![prepped lunchboxes](prepped_lunchboxes.png)
diff --git a/info/shopping_list_screen.png b/info/shopping_list_screen.png
new file mode 100644
index 0000000..c66f7a7
--- /dev/null
+++ b/info/shopping_list_screen.png
Binary files differ