To install all of these system dependencies on a Debian-based system, run:
sudo apt-get install python-setuptools
sudo easy_install virtualenv
First, create a clean base environment using virtualenv:
virtualenv dinnertime
cd dinnertime
source bin/activate
If you are using virtualenvwrapper (recommended) then:
mkvirtualenv dinnertime
workon dinnertime
Install the requirements and the project source:
sudo apt-get install python-memcache
python manage.py startapp accounts
cd path/to/your/dinnertime/repository
pip install -r requirements.pip
pip install -e .
Take a look at the settings file in dinnertime/settings/base.py
If you’re just checking the project out locally, you can copy some example configuration files to get started quickly:
cp dinnertime/settings/local.py.example dinnertime/settings/local.py
manage.py syncdb --migrate
To download recipes from the yummly API add the correct key to yummly/management/commands/yummly_meta.py and run the following command:
python manage.py yummly_meta <model>
Make sure you set <model> to one of “Ingredient, Recipe, Course, Allergy or Diet”