Web application for collecting recipes and making food plans
- collect recipes
- create food plans
- simply import dishes from your recipes
- gather purchase lists
- convert units to summarize list items
- print views for whole project and each day
- including ingredients, cooking instructions
- special features
- define maximum shelf life or limit for need to preorder of articles
- select some ingredients and part of cooking instructions to be done at an earlier meals
Get source code:
$ git clone https://github.com/dboehmer/coocook.git
Copy the config template share/examples/dbic.yaml to the working directory:
$ cp share/examples/dbic.yaml dbic.yaml
A database from the YAML file other than development or a literal DSN can be configured in coocook_local.yaml.
For other possible settings see the default values defined in lib/Coocook.pm.
Prerequisites:
-
by default SQLite with
DBD::SQLiteor some other RDBMS
With Ubuntu or Debian Linux:
$ sudo apt-get install cpanminus libdbd-sqlite3-perl sqlite3
Install Perl5 dependencies required for running the application:
$ cd coocook/
$ cpanm --installdeps .
For development purposes there are a few recommended and suggested dependencies. To install these as well run:
$ cpanm --with-develop --with-recommends --with-suggests --installdeps .
Install database schema into configured database (see above) and start development server in debug mode:
$ script/coocook_deploy.pl install
$ script/coocook_server.pl --debug
...
HTTP::Server::PSGI: Accepting connections at http://0:3000/
Hint: With the --restart option the development server restarts automatically when files in lib/ are changed.
This requires Catalyst::Restarter.
Goto https://hub.docker.com/r/coocook/coocook-dev and follow the instructions there to use the Dockerimage for Development.
- coocook@lists.coocook.org
- subscribe at lists.coocook.org/mailman/listinfo/coocook
- or send an email with subject
subscribeto coocook-request@lists.coocook.org
| Name | Description | Example |
|---|---|---|
| Project | self-contained collection of Coocook data | Paris vacation |
| Meal | an occasion for food on a particular date | lunch at August 15th |
| Dish | an actual food planned for a certain meal | apple pie for lunch on August 15th |
| Recipe | a scalable template for a dish | apple pie |
| Ingredient | an amount of some article for a dish/recipe | 1kg of apples |
| Article | a single sort of food that can be purchased | apples |
| Unit | a type of measurement | kilograms |
| Quantity | a collection of physical units that can be converted | masses |
Daniel Böhmer post@daniel-boehmer.de
- @ChristinaSi Christina Sixtus
- @moseschmiedel Mose Schmiedel
- @rico-hengst Rico Hengst
This software is copyright (c) 2015-2021 by Daniel Böhmer. This web application is free software, licensed under the GNU Affero General Public License, Version 3, 19 November 2007.