From 8468b67ba5329ca30feca21643d60bb4ebe71240 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Mon, 1 Jan 2018 22:26:04 +0100 Subject: README: django 1.9 removed the syncdb command Instead of syncdb, migrate should be used now. --- README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 0fb8ddc7..6aacd15e 100644 --- a/README.md +++ b/README.md @@ -49,15 +49,11 @@ packages, you will probably want the following: Make sure to uncomment the appropriate database section (either sqlite or PostgreSQL). -4. Sync the database to create it. - - ./manage.py syncdb - -5. Migrate changes. +4. Migrate changes. ./manage.py migrate -6. Load the fixtures to prepopulate some data. If you don't want some of the +5. Load the fixtures to prepopulate some data. If you don't want some of the provided data, adjust the file glob accordingly. ./manage.py loaddata main/fixtures/*.json @@ -65,11 +61,11 @@ packages, you will probably want the following: ./manage.py loaddata mirrors/fixtures/*.json ./manage.py loaddata releng/fixtures/*.json -7. Use the following commands to start a service instance +6. Use the following commands to start a service instance ./manage.py runserver -8. To optionally populate the database with real data: +7. To optionally populate the database with real data: wget http://mirrors.kernel.org/archlinux/core/os/x86_64/core.db.tar.gz ./manage.py reporead x86_64 core.db.tar.gz -- cgit v1.2.3-55-g3dc8