{"comment":{"url":"https://api.github.com/repos/starcalibre/microscopium-ui/comments/14579878","html_url":"https://github.com/starcalibre/microscopium-ui/commit/794dee44f1fd318fc750f9faac9cbf922030783d#commitcomment-14579878","id":14579878,"user":{"login":"starcalibre","id":7637964,"avatar_url":"https://avatars.githubusercontent.com/u/7637964?v=3","gravatar_id":"","url":"https://api.github.com/users/starcalibre","html_url":"https://github.com/starcalibre","followers_url":"https://api.github.com/users/starcalibre/followers","following_url":"https://api.github.com/users/starcalibre/following{/other_user}","gists_url":"https://api.github.com/users/starcalibre/gists{/gist_id}","starred_url":"https://api.github.com/users/starcalibre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starcalibre/subscriptions","organizations_url":"https://api.github.com/users/starcalibre/orgs","repos_url":"https://api.github.com/users/starcalibre/repos","events_url":"https://api.github.com/users/starcalibre/events{/privacy}","received_events_url":"https://api.github.com/users/starcalibre/received_events","type":"User","site_admin":false},"position":16,"line":16,"path":"manage.py","commit_id":"794dee44f1fd318fc750f9faac9cbf922030783d","created_at":"2015-11-24T06:19:56Z","updated_at":"2015-11-24T06:19:56Z","body":"It's setting up [flask-script](https://flask-script.readthedocs.org/en/latest/) -- it gives you a couple of extra features such as the ``runserver`` command which lets you set options like the port number from the command line, and a shell context for your app.\r\n\r\nOn line 13, I'm giving the ``shell`` command a dictionary that defines what I'll have access to in the shell. If you have any modules that have utility functions, database models, etc. you can add those there.\r\n\r\n``flask-script`` also lets you define custom commands -- the \"hello world\" example in the above link quickly demonstrates how that works !"}}