{"action":"created","issue":{"url":"https://api.github.com/repos/learningequality/kolibri/issues/40","repository_url":"https://api.github.com/repos/learningequality/kolibri","labels_url":"https://api.github.com/repos/learningequality/kolibri/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/learningequality/kolibri/issues/40/comments","events_url":"https://api.github.com/repos/learningequality/kolibri/issues/40/events","html_url":"https://github.com/learningequality/kolibri/issues/40","id":136433546,"number":40,"title":"Enhance the webpack builder to look at INSTALLED_APPS for buildable assets","user":{"login":"aronasorman","id":191955,"avatar_url":"https://avatars.githubusercontent.com/u/191955?v=3","gravatar_id":"","url":"https://api.github.com/users/aronasorman","html_url":"https://github.com/aronasorman","followers_url":"https://api.github.com/users/aronasorman/followers","following_url":"https://api.github.com/users/aronasorman/following{/other_user}","gists_url":"https://api.github.com/users/aronasorman/gists{/gist_id}","starred_url":"https://api.github.com/users/aronasorman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aronasorman/subscriptions","organizations_url":"https://api.github.com/users/aronasorman/orgs","repos_url":"https://api.github.com/users/aronasorman/repos","events_url":"https://api.github.com/users/aronasorman/events{/privacy}","received_events_url":"https://api.github.com/users/aronasorman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"rtibbles","id":1680573,"avatar_url":"https://avatars.githubusercontent.com/u/1680573?v=3","gravatar_id":"","url":"https://api.github.com/users/rtibbles","html_url":"https://github.com/rtibbles","followers_url":"https://api.github.com/users/rtibbles/followers","following_url":"https://api.github.com/users/rtibbles/following{/other_user}","gists_url":"https://api.github.com/users/rtibbles/gists{/gist_id}","starred_url":"https://api.github.com/users/rtibbles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtibbles/subscriptions","organizations_url":"https://api.github.com/users/rtibbles/orgs","repos_url":"https://api.github.com/users/rtibbles/repos","events_url":"https://api.github.com/users/rtibbles/events{/privacy}","received_events_url":"https://api.github.com/users/rtibbles/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2016-02-25T16:13:35Z","updated_at":"2016-02-25T17:52:43Z","closed_at":null,"body":"## Use case:\r\n\r\nAn external contributor does a `pip install kolibri` and then creates their own plugin with frontend JS.\r\n\r\nAfter doing a `kolibri plugin enable` and `npm run build`, webpack should then inspect the list of `INSTALLED_APPS` (where the new plugin is presumably added), and then build assets, and inform Django that the new assets are available for serving."},"comment":{"url":"https://api.github.com/repos/learningequality/kolibri/issues/comments/188902857","html_url":"https://github.com/learningequality/kolibri/issues/40#issuecomment-188902857","issue_url":"https://api.github.com/repos/learningequality/kolibri/issues/40","id":188902857,"user":{"login":"benjaoming","id":374612,"avatar_url":"https://avatars.githubusercontent.com/u/374612?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaoming","html_url":"https://github.com/benjaoming","followers_url":"https://api.github.com/users/benjaoming/followers","following_url":"https://api.github.com/users/benjaoming/following{/other_user}","gists_url":"https://api.github.com/users/benjaoming/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaoming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaoming/subscriptions","organizations_url":"https://api.github.com/users/benjaoming/orgs","repos_url":"https://api.github.com/users/benjaoming/repos","events_url":"https://api.github.com/users/benjaoming/events{/privacy}","received_events_url":"https://api.github.com/users/benjaoming/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T17:52:43Z","updated_at":"2016-02-25T17:52:43Z","body":"> Or will we add support for it somehow?\r\n\r\nIf we decide to do a kolibri-dev package, and it's enabled and comes with a hook for `runserver` (or overshadows the entire command), then I think that's the way to go, because it's easy to say:\r\n\r\n# Kolibri plugin development\r\n\r\n1. `pip install kolibri-dev`\r\n1. Add the `kolibri_dev_tools` application to the installed apps of your kolibri dev instance, for instance by running `kolibri plugin enable kolibri_dev_tools`\r\n1. Now create a new Kolibri plugin project\r\n1. `kolibri startplugin my_plugin && cd my_plugin && pip install -e .`\r\n1. To run a development server, do `kolibri manage runserver`"}}