From 76f6ca10c4c72c2f385edb2109c3a1501c1c6f8f Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Tue, 21 Feb 2017 10:23:30 +0100 Subject: [PATCH] Update readme.md acooring to production deployment --- readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/readme.md b/readme.md index 189382cd..14a40866 100644 --- a/readme.md +++ b/readme.md @@ -55,3 +55,6 @@ MEDIA_ROOT = '/tmp/media' # Warning! `/tmp` directory can be flushed in any mome - Remember, that before working you have to activate _virtualenv_, by: `devel@host ~/home/smash/scheduling-system $ . env/bin/activate` - In order to run development server, run: `devel@host ~/home/smash/scheduling-system/smash $ ./manage.py runserver` and go to `127.0.0.1:8000` in browser - For reference of HTML tempalte, see [https://almsaeedstudio.com/themes/AdminLTE/pages/widgets.html#](https://almsaeedstudio.com/themes/AdminLTE/pages/widgets.html#) + +## Production deployment + - extract static files and make them available via nginx: `./manage.py collectstatic` \ No newline at end of file -- GitLab