{"action":"created","issue":{"url":"https://api.github.com/repos/CodeForPhilly/stately/issues/13","repository_url":"https://api.github.com/repos/CodeForPhilly/stately","labels_url":"https://api.github.com/repos/CodeForPhilly/stately/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/CodeForPhilly/stately/issues/13/comments","events_url":"https://api.github.com/repos/CodeForPhilly/stately/issues/13/events","html_url":"https://github.com/CodeForPhilly/stately/issues/13","id":180017740,"number":13,"title":"Can django compile the client assets then serve them?","user":{"login":"timwis","id":761444,"avatar_url":"https://avatars.githubusercontent.com/u/761444?v=3","gravatar_id":"","url":"https://api.github.com/users/timwis","html_url":"https://github.com/timwis","followers_url":"https://api.github.com/users/timwis/followers","following_url":"https://api.github.com/users/timwis/following{/other_user}","gists_url":"https://api.github.com/users/timwis/gists{/gist_id}","starred_url":"https://api.github.com/users/timwis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timwis/subscriptions","organizations_url":"https://api.github.com/users/timwis/orgs","repos_url":"https://api.github.com/users/timwis/repos","events_url":"https://api.github.com/users/timwis/events{/privacy}","received_events_url":"https://api.github.com/users/timwis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CodeForPhilly/stately/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-29T11:01:32Z","updated_at":"2016-09-30T02:34:15Z","closed_at":null,"body":"Looks like `settings.py` has a setting for a static directory. I wonder if it can execute a command like `npm run build` at startup to compile it?"},"comment":{"url":"https://api.github.com/repos/CodeForPhilly/stately/issues/comments/250644459","html_url":"https://github.com/CodeForPhilly/stately/issues/13#issuecomment-250644459","issue_url":"https://api.github.com/repos/CodeForPhilly/stately/issues/13","id":250644459,"user":{"login":"mjumbewu","id":146749,"avatar_url":"https://avatars.githubusercontent.com/u/146749?v=3","gravatar_id":"","url":"https://api.github.com/users/mjumbewu","html_url":"https://github.com/mjumbewu","followers_url":"https://api.github.com/users/mjumbewu/followers","following_url":"https://api.github.com/users/mjumbewu/following{/other_user}","gists_url":"https://api.github.com/users/mjumbewu/gists{/gist_id}","starred_url":"https://api.github.com/users/mjumbewu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjumbewu/subscriptions","organizations_url":"https://api.github.com/users/mjumbewu/orgs","repos_url":"https://api.github.com/users/mjumbewu/repos","events_url":"https://api.github.com/users/mjumbewu/events{/privacy}","received_events_url":"https://api.github.com/users/mjumbewu/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T02:34:15Z","updated_at":"2016-09-30T02:34:15Z","body":"This isn't something that core Django does, but there are [a number of packages](https://djangopackages.org/grids/g/asset-managers/) that do it. It has been a couple years since I've explored the options. I used to use [django-compressor](http://django-compressor.readthedocs.io/en/latest/), and looking over the field quickly, that might still be what I'd choose today (it does more than compressing, but [precompiling](http://django-compressor.readthedocs.io/en/latest/settings/#django.conf.settings.COMPRESS_PRECOMPILERS) too)."}}
{"actor":{"display_login":"mjumbewu"}}