add windows specific docker instructions and clarified few points
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user