From 314e7c8d6022f0f722836f341b17d7a4489314c4 Mon Sep 17 00:00:00 2001 From: Jonathan Baecker Date: Mon, 4 May 2020 15:29:20 +0200 Subject: [PATCH] update install instruction --- docs/install.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/install.md b/docs/install.md index 2a2f600d..621e0329 100644 --- a/docs/install.md +++ b/docs/install.md @@ -16,7 +16,10 @@ - past secret key in variable `SECRET_KEY` - set `ALLOWED_HOSTS` with correct URL - set URL in `CORS_ORIGIN_WHITELIST` +- migrate database: `python manage.py makemigrations && python manage.py migrate` - collect static files: `python manage.py collectstatic` +- add super user to db: `python manage.py createsuperuser` +- populate some data to db: `python manage.py loaddata ../docs/db_data.json` - run: `chown www-data. -R /var/www/ffplayout` ##### System Setup