From ccf79534d95de8114799445d205a644088c746d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Redzy=C5=84ski?= Date: Wed, 13 May 2020 15:17:12 +0200 Subject: [PATCH] Update README.md Since Django 1.9 `syncdb` operation is removed. Seems like path for `testdata.json` was wrong. --- sample_project/README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sample_project/README.md b/sample_project/README.md index eb0c916a..08fab60d 100644 --- a/sample_project/README.md +++ b/sample_project/README.md @@ -31,12 +31,10 @@ It is assumed you are in the root directory of the Codespeed software. `export PYTHONPATH=../:$PYTHONPATH` or `ln -s ./codespeed ./sample_project` -5. Initialise the Django Database - `python manage.py syncdb` - (Yes, add a superuser.) +5. Apply the migrations: `python manage.py migrate` Optionally, you may want to load the fixture data for a try - `python manage.py loaddata ../codespeed/fixtures/testdata.json` + `python manage.py loaddata ./codespeed/fixtures/testdata.json` 6. Finally, start the Django development server. `python manage.py runserver` 7. Enjoy.