{"action":"created","issue":{"url":"https://api.github.com/repos/daranguiz/barbell-io/issues/3","repository_url":"https://api.github.com/repos/daranguiz/barbell-io","labels_url":"https://api.github.com/repos/daranguiz/barbell-io/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/daranguiz/barbell-io/issues/3/comments","events_url":"https://api.github.com/repos/daranguiz/barbell-io/issues/3/events","html_url":"https://github.com/daranguiz/barbell-io/issues/3","id":179393570,"number":3,"title":"Create a `manage.py`, similar to Django Project Structure","user":{"login":"kashev","id":2130609,"avatar_url":"https://avatars.githubusercontent.com/u/2130609?v=3","gravatar_id":"","url":"https://api.github.com/users/kashev","html_url":"https://github.com/kashev","followers_url":"https://api.github.com/users/kashev/followers","following_url":"https://api.github.com/users/kashev/following{/other_user}","gists_url":"https://api.github.com/users/kashev/gists{/gist_id}","starred_url":"https://api.github.com/users/kashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kashev/subscriptions","organizations_url":"https://api.github.com/users/kashev/orgs","repos_url":"https://api.github.com/users/kashev/repos","events_url":"https://api.github.com/users/kashev/events{/privacy}","received_events_url":"https://api.github.com/users/kashev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/daranguiz/barbell-io/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/daranguiz/barbell-io/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"kashev","id":2130609,"avatar_url":"https://avatars.githubusercontent.com/u/2130609?v=3","gravatar_id":"","url":"https://api.github.com/users/kashev","html_url":"https://github.com/kashev","followers_url":"https://api.github.com/users/kashev/followers","following_url":"https://api.github.com/users/kashev/following{/other_user}","gists_url":"https://api.github.com/users/kashev/gists{/gist_id}","starred_url":"https://api.github.com/users/kashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kashev/subscriptions","organizations_url":"https://api.github.com/users/kashev/orgs","repos_url":"https://api.github.com/users/kashev/repos","events_url":"https://api.github.com/users/kashev/events{/privacy}","received_events_url":"https://api.github.com/users/kashev/received_events","type":"User","site_admin":false},"assignees":[{"login":"kashev","id":2130609,"avatar_url":"https://avatars.githubusercontent.com/u/2130609?v=3","gravatar_id":"","url":"https://api.github.com/users/kashev","html_url":"https://github.com/kashev","followers_url":"https://api.github.com/users/kashev/followers","following_url":"https://api.github.com/users/kashev/following{/other_user}","gists_url":"https://api.github.com/users/kashev/gists{/gist_id}","starred_url":"https://api.github.com/users/kashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kashev/subscriptions","organizations_url":"https://api.github.com/users/kashev/orgs","repos_url":"https://api.github.com/users/kashev/repos","events_url":"https://api.github.com/users/kashev/events{/privacy}","received_events_url":"https://api.github.com/users/kashev/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/daranguiz/barbell-io/milestones/2","html_url":"https://github.com/daranguiz/barbell-io/milestones/winter-cleaning","labels_url":"https://api.github.com/repos/daranguiz/barbell-io/milestones/2/labels","id":2050107,"number":2,"title":"winter-cleaning","description":null,"creator":{"login":"kashev","id":2130609,"avatar_url":"https://avatars.githubusercontent.com/u/2130609?v=3","gravatar_id":"","url":"https://api.github.com/users/kashev","html_url":"https://github.com/kashev","followers_url":"https://api.github.com/users/kashev/followers","following_url":"https://api.github.com/users/kashev/following{/other_user}","gists_url":"https://api.github.com/users/kashev/gists{/gist_id}","starred_url":"https://api.github.com/users/kashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kashev/subscriptions","organizations_url":"https://api.github.com/users/kashev/orgs","repos_url":"https://api.github.com/users/kashev/repos","events_url":"https://api.github.com/users/kashev/events{/privacy}","received_events_url":"https://api.github.com/users/kashev/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":1,"state":"open","created_at":"2016-10-05T16:35:09Z","updated_at":"2016-10-07T04:18:29Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-09-27T04:12:51Z","updated_at":"2016-10-07T04:19:01Z","closed_at":null,"body":"I think that one thing that Django does right, over flask, is the `manage.py` paradigm, where top level project actions, like running the project in debug mode or not, cleaning built files, etc, are contained in one script. Here's an example I wrote once upon a time which uses [flask script](https://flask-script.readthedocs.io/en/latest/) which I think demonstrates the power of this approach:\r\n\r\nhttps://github.com/kashev/kashev.rocks/blob/master/manage.py\r\n\r\nI think this is cleaner than having `run.py` and `runp.py` at the top level. This particular example shows cleaning of built assets and a livereloading server, which I find particularly useful.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/daranguiz/barbell-io/issues/comments/252149584","html_url":"https://github.com/daranguiz/barbell-io/issues/3#issuecomment-252149584","issue_url":"https://api.github.com/repos/daranguiz/barbell-io/issues/3","id":252149584,"user":{"login":"daranguiz","id":1831812,"avatar_url":"https://avatars.githubusercontent.com/u/1831812?v=3","gravatar_id":"","url":"https://api.github.com/users/daranguiz","html_url":"https://github.com/daranguiz","followers_url":"https://api.github.com/users/daranguiz/followers","following_url":"https://api.github.com/users/daranguiz/following{/other_user}","gists_url":"https://api.github.com/users/daranguiz/gists{/gist_id}","starred_url":"https://api.github.com/users/daranguiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daranguiz/subscriptions","organizations_url":"https://api.github.com/users/daranguiz/orgs","repos_url":"https://api.github.com/users/daranguiz/repos","events_url":"https://api.github.com/users/daranguiz/events{/privacy}","received_events_url":"https://api.github.com/users/daranguiz/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T04:19:01Z","updated_at":"2016-10-07T04:19:01Z","body":"closed with #24 "}}
{"actor":{"display_login":"daranguiz"}}