From 5a6c69b7284e0c138dc71489c0d6964dba09aa7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Zapke-Gru=CC=88ndemann?= Date: Wed, 8 Feb 2012 20:18:26 +0100 Subject: update syncdb/migrate part Previous version was not working because the user profile table hasn't been created when running syncdb/migrate. --- README.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 258c481..2681367 100644 --- a/README.rst +++ b/README.rst @@ -50,10 +50,13 @@ Create a symlink to the development settings:: (sublab_website)$ cd sublab_project (sublab_website)$ ln -s ../conf/dev_settings.py local_settings.py -Now create the database:: +Now create the database and run the migrations:: - (sublab_website)$ ./manage.py syncdb - (sublab_website)$ ./manage.py migrate + (sublab_website)$ ./manage.py syncdb --noinput --migrate + +Then create a superuser:: + + (sublab_website)$ $ ./manage.py createsuperuser Finally start the development webserver:: -- cgit v1.2.1