Home > Food-Noms

Food-Noms

Food-Noms is a project mainly written in PYTHON and SHELL, it's free.

Food Noms - Helping you find good food noms since 2010.

This is the README for Food Noms. Edit me. Fear me. Eat me.

Required Packages

  • django-registration
  • django-profiles
  • south

Installing food noms

To install food noms, you must perform the required steps.

  1. Install Python and Django.
  2. Install the required packages above on your system. Generally easy_install makes this real easy.
  3. Create the database and select no when prompted to create a superuser. This can be done by: python manage.py syncdb
  4. Run the command: python manage.py migrate
  5. Create a superuser. This can be done by: python manage.py createsuperuser
  6. You are done. Go home. Have a cookie.

Using South

When you modify a applications model, instead of running:

python manage.py syncdb

run:

python manage.py schemamigration [application_name] --auto

That statement will create a migration file for the new model.

You must then apply this migration. You can do this with the command that the previous command outputs. It should look something like this:

python manage.py migrate [migratation_name]

For more info on how to use South, take a look at the documentation.