summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Zapke-Grùˆndemann <markus@keimlink.de>2012-02-08 20:18:26 +0100
committerMarkus Zapke-Grùˆndemann <markus@keimlink.de>2012-02-08 20:18:26 +0100
commit5a6c69b7284e0c138dc71489c0d6964dba09aa7e (patch)
treed0bfd9de969070d24f5ccb486855cfa0eb6cc974
parent3123270a35221f196a21630501790f6b61d6eb57 (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.rst9
1 files 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::