From 700d08af55702b5b0b0d609bd13aabb3f19fb548 Mon Sep 17 00:00:00 2001 From: Ilkka Oksanen Date: Fri, 24 Feb 2017 15:38:12 +0200 Subject: [PATCH] add windows specific docker instructions and clarified few points --- readme.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 25a00a1..9a88c05 100644 --- a/readme.md +++ b/readme.md @@ -26,10 +26,18 @@ GRANT ALL PRIVILEGES ON sik.* TO 'sik'@'%'; ``` Then ctrl-d away from docker bash shell and shutdown db image with ctrl-c +### Windows specific stuff + +1. sudo is naturally not needed before any command on a windows environment +2. before configuring web-image, click on taskbars docker icons. and from shared drives share the drive repository is on + + ### Configuring web-image -1. Fix your settings.py to use 'db' as host and correct user and password (configured above) -2. run following commands +1. Copy settings-sample.py to settings.py on sikweb folder. +2. configure atleast following settings + - dbsettings: use 'db' as host and correct user and password (configured above) +3. run following commands ```BASH sudo docker-compose run web python manage.py migrate