diff options
author | Markus Zapke-Grùˆndemann <markus@keimlink.de> | 2012-02-08 20:18:26 +0100 |
---|---|---|
committer | Markus Zapke-Grùˆndemann <markus@keimlink.de> | 2012-02-08 20:18:26 +0100 |
commit | 5a6c69b7284e0c138dc71489c0d6964dba09aa7e (patch) | |
tree | d0bfd9de969070d24f5ccb486855cfa0eb6cc974 | |
parent | 3123270a35221f196a21630501790f6b61d6eb57 (diff) |
update syncdb/migrate part
Previous version was not working because the user profile table hasn't been
created when running syncdb/migrate.
-rw-r--r-- | README.rst | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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:: |