{"action":"created","issue":{"url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi-docker/issues/15","repository_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi-docker","labels_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi-docker/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi-docker/issues/15/comments","events_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi-docker/issues/15/events","html_url":"https://github.com/GrahamDumpleton/mod_wsgi-docker/issues/15","id":194298952,"number":15,"title":"static files","user":{"login":"evdel","id":7549814,"avatar_url":"https://avatars.githubusercontent.com/u/7549814?v=3","gravatar_id":"","url":"https://api.github.com/users/evdel","html_url":"https://github.com/evdel","followers_url":"https://api.github.com/users/evdel/followers","following_url":"https://api.github.com/users/evdel/following{/other_user}","gists_url":"https://api.github.com/users/evdel/gists{/gist_id}","starred_url":"https://api.github.com/users/evdel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evdel/subscriptions","organizations_url":"https://api.github.com/users/evdel/orgs","repos_url":"https://api.github.com/users/evdel/repos","events_url":"https://api.github.com/users/evdel/events{/privacy}","received_events_url":"https://api.github.com/users/evdel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-08T10:27:04Z","updated_at":"2016-12-08T23:12:57Z","closed_at":null,"body":"The static files of my Django application are not served."},"comment":{"url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi-docker/issues/comments/265884184","html_url":"https://github.com/GrahamDumpleton/mod_wsgi-docker/issues/15#issuecomment-265884184","issue_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi-docker/issues/15","id":265884184,"user":{"login":"GrahamDumpleton","id":507637,"avatar_url":"https://avatars.githubusercontent.com/u/507637?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamDumpleton","html_url":"https://github.com/GrahamDumpleton","followers_url":"https://api.github.com/users/GrahamDumpleton/followers","following_url":"https://api.github.com/users/GrahamDumpleton/following{/other_user}","gists_url":"https://api.github.com/users/GrahamDumpleton/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamDumpleton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamDumpleton/subscriptions","organizations_url":"https://api.github.com/users/GrahamDumpleton/orgs","repos_url":"https://api.github.com/users/GrahamDumpleton/repos","events_url":"https://api.github.com/users/GrahamDumpleton/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamDumpleton/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T23:12:57Z","updated_at":"2016-12-08T23:12:57Z","body":"If you haven't already, look at:\r\n\r\n* https://github.com/GrahamDumpleton/mod_wsgi-docker/tree/master/demos/django-1.7\r\n\r\nThis shows what you would need for Django. The primary things are:\r\n\r\n* .whiskey/action_hooks/build (executable shell script) - https://github.com/GrahamDumpleton/mod_wsgi-docker/blob/master/demos/django-1.7/.whiskey/action_hooks/build - This is so that collectstatic is run.\r\n* .whiskey/server_args - https://github.com/GrahamDumpleton/mod_wsgi-docker/blob/master/demos/django-1.7/.whiskey/server_args - This sets additional arguments so that mod_wsgi-express knows where Django is and where static files are.\r\n* settings.py - https://github.com/GrahamDumpleton/mod_wsgi-docker/blob/master/demos/django-1.7/example/example/settings.py#L83 - Need to set ``STATIC_ROOT``. Location needs to match path used in ``server_args``.\r\n* Dockerfile - https://github.com/GrahamDumpleton/mod_wsgi-docker/blob/master/demos/django-1.7/Dockerfile - Done differently to how you are doing it.\r\n\r\nJust note that I have the Django project pushed down into a sub directory. You would need to adjust some of the values to match what you have.\r\n\r\nNow the question is whether you want to still use ``mod_wsgi-docker`` image as I have a newer image which is superseding this one. There isn't an official 1.0 version yet, but you still may be interested in it. Suggest you watch:\r\n\r\n* https://www.youtube.com/watch?v=y_vwvqgRZK0\r\n\r\nI have also posted about it on my blog and there is:\r\n\r\n* http://warpdrive.readthedocs.io\r\n\r\nI will be ramping up documentation and getting a 1.0 release done in the next month or so."}}
{"actor":{"display_login":"GrahamDumpleton"}}