Krecipes

Krecipes是一个高度可配置的食谱管理器,旨在使您的个人食谱收集快速和容易。(A highly configurable recipe manager, designed to make organizing your personal recipes collection fast and easy. )

Github星跟蹤圖

Krecipes是一个高度可配置的食谱管理器,旨在使您的个人食谱收集快速和容易。 功能包括:购物清单,营养分析,高级搜索,食谱评级,导入/导出各种格式,等等。

Krecipes特性:
有关Krecipes的完整介绍,请参阅Colleen Beamer撰写的完整手册。它涵盖了对Krecipes的所有方面的使用,还包括Krecipes的许多截图。
食谱搜索
  • 只需键入食谱名称的一部分,所有这些食谱即时可用于查看,编辑或打印。
  • 如果您想调整您的搜索,高级搜索还允许您按标题以及类别,配料,准备时间,作者,份量或说明文本的任何组合进行搜索。
编辑食谱
  • 使用三个输入选项卡,您将填写您的食谱的详细信息。在第一个选项卡上的标题,作者,类别,准备时间和收益率。在下一个,你可以输入成分,最后是说明。
购物清单
  • 将食谱添加到购物清单。当你完成后,Krecipes将列出所有必要的成分,自动组合单位,并给你一个列表准备打印。
饮食助手
  • 计划一天、几天、甚至几周的膳食。你把你想要每餐包含限制特定的营养物质(脂肪,能量等)的量告诉Krecipes,Krecipes将搞定一切。
高级数据库管理
  • Krecipes充分利用关系数据库的优势。类别,成分,单位等作为单独的身份存储,其在使用时链接到配方。您可以在一个位置重命名其中一个,并且使用该元素的所有配方都会自动更新。
  • 从外部来源导入配方时,您可能会发现许多拼写错误和大写字母奇怪。只需在“数据”面板中重命名这些元素,即可更正所有配方。例如,您可以具有类别“Vegtables”和“Vegatables”。将“Vegtables”重命名为“Vegatables”,合并功能将这两个类别下的所有食谱都归入正确的类别。

概覽

名稱與所有者KDE/krecipes
主編程語言C++
編程語言CMake (語言數: 7)
平台Linux, Unix-like
許可證GNU General Public License v2.0
發布數27
最新版本名稱v2.1.0 (發布於 2015-03-23 14:33:09)
第一版名稱v0.6-beta (發布於 2004-09-20 22:25:53)
創建於2015-09-18 15:16:14
推送於2018-12-29 11:21:49
最后一次提交2018-12-29 12:21:40
星數8
關注者數5
派生數4
提交數3.1k
已啟用問題?
問題數0
打開的問題數0
拉請求數0
打開的拉請求數0
關閉的拉請求數0
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

Krecipes is a Recipe Book for KDE. It requires KDE 4.4 or greater (and Qt 4).

** Dependencies

Additionally to whatever Krecipes is linked against, you will need the client
programs (i.e shell commands sqlite3, mysql ... ) for your database if you want
to use the Krecipes backup feature. If you want to use "krecipes
--convert-sqlite3" you will need both sqlite and sqlite3 shell commands.

** Build Dependencies

If you're using an APT based GNU/Linux distribution you may want to install
the following packages:

  • kdelibs5-dev
  • libsqlite3-dev or libsqlite0-dev
  • libxml2-dev
  • libxslt1-dev
  • libqtwebkit-dev

** Building The Latest Release

Just untar the package first:

tar -zxf krecipes-2.x.x.tar.gz (replace x with the corresponding version number)

And compile:

cd krecipes-2.x.x (replace x with the corresponding version number)
mkdir build && cd build
cmake ..
make
make install

** Downloading, Building And Installing The Latest Development Version With Git

The project is being developed under extragear/utils in KDE's servers.

To download the source code, do:

git clone git://anongit.kde.org/krecipes

To update the source code, do:

cd krecipes
git pull

To build and install it in the default prefix (usually /usr/local):

mkdir build && cd build
cmake ..
make
make install

To build and install it in other prefix, for instance ~/.kde/:

mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=~/.kde/
make
make install

Also if you install it in ~/.kde/ you may want to set the following variables
in your .bashrc (or wherever it's appropiate for you):

export PATH=~/.kde/bin:${PATH}
export MANPATH=~/.kde/man:$(manpath)
export KDEDIRS=~/.kde:/usr
export XDG_DATA_DIRS=~/.kde/share:${XDG_DATA_DIRS}
export LD_LIBRARY_PATH=~/.kde/lib

To uninstall it:

cd build && make uninstall

** Test programs

Krecipes comes with some programs (targeted to testers and developers) to test
importers and exporters. You can build it or not adding "-DKDE4_BUILD_TESTS=ON"
or "-DKDE4_BUILD_TESTS=OFF" when you execute cmake.

You can execute all the tests just typing 'make test'. If any of them fails
and you need to see more details about what failed, you should execute the
failing test individually; you can do this with "ctest -VV -R ", for
instance:
$ ctest -VV -R krecipes-database-encoding

Tests needing a MySQL or PostgreSQL setup are disabled by default, you can
enable them with:
-DTESTS_MYSQL=ON -DTESTS_POSTGRESQL=ON

The MySQL and PostgreSQL configurations for tests can be changed in
src/tests/database/mysqlrc and src/tests/database/mysqlrc

To set up MySQL on ubuntu:
$ apt-get install mysql-server (you will be asked for MySQL's root password)
$ mysql -u root -p (and type the password you have chosen)
mysql> create database kreunittests;
mysql> create user kreunittests identified by 'write_mysql_user_password_here';
mysql> use kreunittests;
mysql> grant all on * to kreunittests;

To set up PostgreSQL for tests on ubuntu:
$ apt-get install postgresql
$ sudo su postgres
$ psql
postgres=# create database kreunittests;
postgres=# create user kreunittests password 'write_postgres_user_pass_here';
edit '/etc/postgresql/9.4/main/pg_hba.conf' and add this line:
local all kreunittests password

** Hidden features

There are a couple of hidden (hidden because they are not supported yet)
features, to show it you can put these two lines:

[Advanced]
UnhideMergeTools=true

in krecipesrc configuration file.

You can see the features ("Merge Similar Categories..." and "Merge Similar
Ingredients...") in the "Tools" menu.

Also you can show the database ID's of the recipes/ingredients/whatever with:

[Advanced]
ShowID=true

This may be useful for debugging purposes.

** The NukeDB tool

nukedb is a development tool to fill the Krecipes database with huge amounts
of data. You can build it along with Krecipes adding "-DBUILD_NUKEDB=ON" when
you execute cmake. To use it just type "nukedb" in the console.

去到頂部