This is the EveryCook Recipe Database. It is a web application for creating (and storing) machine (and human) readable recipes. These recipes are linked to foods and suppliers to allow meal planning and shopping list creation. It also guides the user step-by-step through the recipe with the CookAssistant. EveryCook is an open source platform for collecting all data about food and make it available to all kinds of cooking devices.
precondition: You need a XAMP (Apache, Mysql, PHP) installation.
-
configure Apache
Activate/install the following modules in your apache config:
mod_rewrite
mod_memcached (apt-get install php5-memcached php5-mysql)Set "AllowOverride FileInfo" for Everycook's "db" direcory in your apache/vhost config.
This is needed for mod_rewrite takes effect. -
install needed software
Install the memcached Server. (apt-get install memcached) -
checkout this git repository to the "db" directory in your webserver path.
git clone git://github.com/everycook/EveryCook.git /var/www/db
Change filesystem permission so webserver user (www-data) can write to db/assets, db/img, db/cache and db/protected/runtime. -
import DB dump
Get the EveryCook_DB.sql.gz sql dump from Downloads Page and import it to your mysql.
It will create databases with name "ec" and "ec_priv". -
get images
Get EveryCook_images.tgz from Downloads Page and extract its img folder to /var/www/db/img these images are linked from the database. -
Change yii config settings
rename, copy or link db/protected/config/entw.php to db/protected/config/main.php
Change user and password for database connection "db" and "dbp".
Setting E-Mail host, user, passwort for sending registration Mail in 'params' section.