{"action":"created","issue":{"url":"https://api.github.com/repos/ubyssey/dispatch/issues/408","repository_url":"https://api.github.com/repos/ubyssey/dispatch","labels_url":"https://api.github.com/repos/ubyssey/dispatch/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/ubyssey/dispatch/issues/408/comments","events_url":"https://api.github.com/repos/ubyssey/dispatch/issues/408/events","html_url":"https://github.com/ubyssey/dispatch/pull/408","id":139487200,"number":408,"title":"Refactoring Dispatch as standalone package","user":{"login":"psiemens","id":2547035,"avatar_url":"https://avatars.githubusercontent.com/u/2547035?v=3","gravatar_id":"","url":"https://api.github.com/users/psiemens","html_url":"https://github.com/psiemens","followers_url":"https://api.github.com/users/psiemens/followers","following_url":"https://api.github.com/users/psiemens/following{/other_user}","gists_url":"https://api.github.com/users/psiemens/gists{/gist_id}","starred_url":"https://api.github.com/users/psiemens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psiemens/subscriptions","organizations_url":"https://api.github.com/users/psiemens/orgs","repos_url":"https://api.github.com/users/psiemens/repos","events_url":"https://api.github.com/users/psiemens/events{/privacy}","received_events_url":"https://api.github.com/users/psiemens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-09T06:20:22Z","updated_at":"2016-03-11T19:48:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ubyssey/dispatch/pulls/408","html_url":"https://github.com/ubyssey/dispatch/pull/408","diff_url":"https://github.com/ubyssey/dispatch/pull/408.diff","patch_url":"https://github.com/ubyssey/dispatch/pull/408.patch"},"body":"**Work in progress**\r\n\r\nUntil now Dispatch has been structured in way that's similar to WordPress, where user content (themes, static files, media) live inside of the main project directory. This worked when we were only powering ubyssey.ca, but now that the platform is also being used by sfalta.com, it's becoming increasingly hard to share code between the two projects. \r\n\r\nThe refactor aims to produce a standalone Python package than can be installed (and updated) independently from a user's code and imported as needed (think `pip install dispatch`). This decoupling will allow users to focus on theme development while we worry about all of the super secret internal stuff without stepping on anybody's toes. \r\n\r\nFeedback appreciated!\r\n\r\ncc @blx @jordanschalm "},"comment":{"url":"https://api.github.com/repos/ubyssey/dispatch/issues/comments/195519441","html_url":"https://github.com/ubyssey/dispatch/pull/408#issuecomment-195519441","issue_url":"https://api.github.com/repos/ubyssey/dispatch/issues/408","id":195519441,"user":{"login":"willmcdonald","id":10147901,"avatar_url":"https://avatars.githubusercontent.com/u/10147901?v=3","gravatar_id":"","url":"https://api.github.com/users/willmcdonald","html_url":"https://github.com/willmcdonald","followers_url":"https://api.github.com/users/willmcdonald/followers","following_url":"https://api.github.com/users/willmcdonald/following{/other_user}","gists_url":"https://api.github.com/users/willmcdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/willmcdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willmcdonald/subscriptions","organizations_url":"https://api.github.com/users/willmcdonald/orgs","repos_url":"https://api.github.com/users/willmcdonald/repos","events_url":"https://api.github.com/users/willmcdonald/events{/privacy}","received_events_url":"https://api.github.com/users/willmcdonald/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T19:48:12Z","updated_at":"2016-03-11T19:48:12Z","body":"@psiemens worked for me in a virtualenv in OS X 10.11!"}}