This is the README for Food Noms. Edit me. Fear me. Eat me.
To install food noms, you must perform the required steps.
- Install Python and Django.
- Install the required packages above on your system. Generally easy_install makes this real easy.
- Create the database and select no when prompted to create a superuser. This can be done by:
python manage.py syncdb
- Run the command:
python manage.py migrate
- Create a superuser. This can be done by:
python manage.py createsuperuser
- You are done. Go home. Have a cookie.
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.