{"action":"created","comment":{"url":"https://api.github.com/repos/learningequality/ka-lite/pulls/comments/23569112","id":23569112,"diff_hunk":"@@ -0,0 +1,84 @@\n+#!/usr/bin/env python\n+\"\"\"\n+Role of this executable:\n+Determine where kalite is installed and which python to use. This can be\n+set in the system's env (useful for distribution).\n+\n+All arguments are proxied for kalite, and all stderr and stdout is returned.\n+\n+Notes...\n+THIS MAY BE RUN BY PYTHON 2 AND 3 !!!","path":"bin/kalite","position":10,"original_position":10,"commit_id":"e1cd604a2b4d6ab4473b16236975ff941a899c65","original_commit_id":"e1cd604a2b4d6ab4473b16236975ff941a899c65","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},"body":"Nice! ","created_at":"2015-01-26T22:11:07Z","updated_at":"2015-01-26T22:11:07Z","html_url":"https://github.com/learningequality/ka-lite/pull/2893#discussion_r23569112","pull_request_url":"https://api.github.com/repos/learningequality/ka-lite/pulls/2893","_links":{"self":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/comments/23569112"},"html":{"href":"https://github.com/learningequality/ka-lite/pull/2893#discussion_r23569112"},"pull_request":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/2893"}}},"pull_request":{"url":"https://api.github.com/repos/learningequality/ka-lite/pulls/2893","id":27987546,"html_url":"https://github.com/learningequality/ka-lite/pull/2893","diff_url":"https://github.com/learningequality/ka-lite/pull/2893.diff","patch_url":"https://github.com/learningequality/ka-lite/pull/2893.patch","issue_url":"https://api.github.com/repos/learningequality/ka-lite/issues/2893","number":2893,"state":"open","locked":false,"title":"Introducing: The `kalite` command, much awesome","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},"body":"Try it out!\r\n\r\n    ➜  ka-lite git:(kalite-command) bin/kalite --help\r\n    KA Lite (Khan Academy Lite)\r\n\r\n    Supported by Foundation for Learning Equality\r\n    www.learningequality.org\r\n\r\n    Usage:\r\n      kalite start [options] [--skip-job-scheduler] [DJANGO_OPTIONS ...]\r\n      kalite stop [options] [DJANGO_OPTIONS ...]\r\n      kalite status [job-scheduler] [options]\r\n      kalite shell [options] [DJANGO_OPTIONS ...]\r\n      kalite test [options] [DJANGO_OPTIONS ...]\r\n      kalite manage COMMAND [options] [DJANGO_OPTIONS ...]\r\n      kalite -h | --help\r\n      kalite --version\r\n\r\n    Options:\r\n      -h --help             Show this screen.\r\n      --version             Show version.\r\n      COMMAND               The name of any available django manage command. For\r\n                            help, type `kalite manage help`\r\n      --debug               Output debug messages (for development)\r\n      --skip-job-scheduler  For `kalite start`: Skips running the job scheduler\r\n                            (useful for dev)\r\n      DJANGO_OPTIONS        All options are passed on to the django manage command.\r\n                            Notice that all django options must be place *last* and\r\n                            should not be mixed with other options.\r\n\r\nTry for instance to start kalite, and while its starting, hurry up and fire off the status command.\r\n\r\n# TODO\r\n\r\nNeeds testing on Win/OSX.","created_at":"2015-01-25T04:48:28Z","updated_at":"2015-01-26T22:11:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0b61c5ddfffb8d03f61801dcf327a16ac6420dd5","assignee":{"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},"milestone":{"url":"https://api.github.com/repos/learningequality/ka-lite/milestones/37","labels_url":"https://api.github.com/repos/learningequality/ka-lite/milestones/37/labels","id":656433,"number":37,"title":"0.13.x","description":"- bootstrap for everything!\r\n- i18n beta languages\r\n- lots of fixes","creator":{"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},"open_issues":31,"closed_issues":159,"state":"open","created_at":"2014-05-12T16:58:11Z","updated_at":"2015-01-26T22:09:36Z","due_on":"2015-01-31T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/learningequality/ka-lite/pulls/2893/commits","review_comments_url":"https://api.github.com/repos/learningequality/ka-lite/pulls/2893/comments","review_comment_url":"https://api.github.com/repos/learningequality/ka-lite/pulls/comments/{number}","comments_url":"https://api.github.com/repos/learningequality/ka-lite/issues/2893/comments","statuses_url":"https://api.github.com/repos/learningequality/ka-lite/statuses/e1cd604a2b4d6ab4473b16236975ff941a899c65","head":{"label":"benjaoming:kalite-command","ref":"kalite-command","sha":"e1cd604a2b4d6ab4473b16236975ff941a899c65","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},"repo":{"id":29163611,"name":"ka-lite","full_name":"benjaoming/ka-lite","owner":{"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},"private":false,"html_url":"https://github.com/benjaoming/ka-lite","description":"KA Lite: lightweight web server for serving core Khan Academy content (videos and exercises) without needing internet connectivity","fork":true,"url":"https://api.github.com/repos/benjaoming/ka-lite","forks_url":"https://api.github.com/repos/benjaoming/ka-lite/forks","keys_url":"https://api.github.com/repos/benjaoming/ka-lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benjaoming/ka-lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benjaoming/ka-lite/teams","hooks_url":"https://api.github.com/repos/benjaoming/ka-lite/hooks","issue_events_url":"https://api.github.com/repos/benjaoming/ka-lite/issues/events{/number}","events_url":"https://api.github.com/repos/benjaoming/ka-lite/events","assignees_url":"https://api.github.com/repos/benjaoming/ka-lite/assignees{/user}","branches_url":"https://api.github.com/repos/benjaoming/ka-lite/branches{/branch}","tags_url":"https://api.github.com/repos/benjaoming/ka-lite/tags","blobs_url":"https://api.github.com/repos/benjaoming/ka-lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benjaoming/ka-lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benjaoming/ka-lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/benjaoming/ka-lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benjaoming/ka-lite/statuses/{sha}","languages_url":"https://api.github.com/repos/benjaoming/ka-lite/languages","stargazers_url":"https://api.github.com/repos/benjaoming/ka-lite/stargazers","contributors_url":"https://api.github.com/repos/benjaoming/ka-lite/contributors","subscribers_url":"https://api.github.com/repos/benjaoming/ka-lite/subscribers","subscription_url":"https://api.github.com/repos/benjaoming/ka-lite/subscription","commits_url":"https://api.github.com/repos/benjaoming/ka-lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/benjaoming/ka-lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/benjaoming/ka-lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/benjaoming/ka-lite/issues/comments/{number}","contents_url":"https://api.github.com/repos/benjaoming/ka-lite/contents/{+path}","compare_url":"https://api.github.com/repos/benjaoming/ka-lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benjaoming/ka-lite/merges","archive_url":"https://api.github.com/repos/benjaoming/ka-lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benjaoming/ka-lite/downloads","issues_url":"https://api.github.com/repos/benjaoming/ka-lite/issues{/number}","pulls_url":"https://api.github.com/repos/benjaoming/ka-lite/pulls{/number}","milestones_url":"https://api.github.com/repos/benjaoming/ka-lite/milestones{/number}","notifications_url":"https://api.github.com/repos/benjaoming/ka-lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benjaoming/ka-lite/labels{/name}","releases_url":"https://api.github.com/repos/benjaoming/ka-lite/releases{/id}","created_at":"2015-01-13T00:04:53Z","updated_at":"2015-01-13T01:05:42Z","pushed_at":"2015-01-25T04:47:50Z","git_url":"git://github.com/benjaoming/ka-lite.git","ssh_url":"git@github.com:benjaoming/ka-lite.git","clone_url":"https://github.com/benjaoming/ka-lite.git","svn_url":"https://github.com/benjaoming/ka-lite","homepage":"https://learningequality.org/ka-lite/","size":123810,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"learningequality:develop","ref":"develop","sha":"f98f6d51d0a0d282635c06977c6199a6958fbe9b","user":{"login":"learningequality","id":3926525,"avatar_url":"https://avatars.githubusercontent.com/u/3926525?v=3","gravatar_id":"","url":"https://api.github.com/users/learningequality","html_url":"https://github.com/learningequality","followers_url":"https://api.github.com/users/learningequality/followers","following_url":"https://api.github.com/users/learningequality/following{/other_user}","gists_url":"https://api.github.com/users/learningequality/gists{/gist_id}","starred_url":"https://api.github.com/users/learningequality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learningequality/subscriptions","organizations_url":"https://api.github.com/users/learningequality/orgs","repos_url":"https://api.github.com/users/learningequality/repos","events_url":"https://api.github.com/users/learningequality/events{/privacy}","received_events_url":"https://api.github.com/users/learningequality/received_events","type":"Organization","site_admin":false},"repo":{"id":5741125,"name":"ka-lite","full_name":"learningequality/ka-lite","owner":{"login":"learningequality","id":3926525,"avatar_url":"https://avatars.githubusercontent.com/u/3926525?v=3","gravatar_id":"","url":"https://api.github.com/users/learningequality","html_url":"https://github.com/learningequality","followers_url":"https://api.github.com/users/learningequality/followers","following_url":"https://api.github.com/users/learningequality/following{/other_user}","gists_url":"https://api.github.com/users/learningequality/gists{/gist_id}","starred_url":"https://api.github.com/users/learningequality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learningequality/subscriptions","organizations_url":"https://api.github.com/users/learningequality/orgs","repos_url":"https://api.github.com/users/learningequality/repos","events_url":"https://api.github.com/users/learningequality/events{/privacy}","received_events_url":"https://api.github.com/users/learningequality/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/learningequality/ka-lite","description":"KA Lite: lightweight web server for serving core Khan Academy content (videos and exercises) without needing internet connectivity","fork":false,"url":"https://api.github.com/repos/learningequality/ka-lite","forks_url":"https://api.github.com/repos/learningequality/ka-lite/forks","keys_url":"https://api.github.com/repos/learningequality/ka-lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/learningequality/ka-lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/learningequality/ka-lite/teams","hooks_url":"https://api.github.com/repos/learningequality/ka-lite/hooks","issue_events_url":"https://api.github.com/repos/learningequality/ka-lite/issues/events{/number}","events_url":"https://api.github.com/repos/learningequality/ka-lite/events","assignees_url":"https://api.github.com/repos/learningequality/ka-lite/assignees{/user}","branches_url":"https://api.github.com/repos/learningequality/ka-lite/branches{/branch}","tags_url":"https://api.github.com/repos/learningequality/ka-lite/tags","blobs_url":"https://api.github.com/repos/learningequality/ka-lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/learningequality/ka-lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/learningequality/ka-lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/learningequality/ka-lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/learningequality/ka-lite/statuses/{sha}","languages_url":"https://api.github.com/repos/learningequality/ka-lite/languages","stargazers_url":"https://api.github.com/repos/learningequality/ka-lite/stargazers","contributors_url":"https://api.github.com/repos/learningequality/ka-lite/contributors","subscribers_url":"https://api.github.com/repos/learningequality/ka-lite/subscribers","subscription_url":"https://api.github.com/repos/learningequality/ka-lite/subscription","commits_url":"https://api.github.com/repos/learningequality/ka-lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/learningequality/ka-lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/learningequality/ka-lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/learningequality/ka-lite/issues/comments/{number}","contents_url":"https://api.github.com/repos/learningequality/ka-lite/contents/{+path}","compare_url":"https://api.github.com/repos/learningequality/ka-lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/learningequality/ka-lite/merges","archive_url":"https://api.github.com/repos/learningequality/ka-lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/learningequality/ka-lite/downloads","issues_url":"https://api.github.com/repos/learningequality/ka-lite/issues{/number}","pulls_url":"https://api.github.com/repos/learningequality/ka-lite/pulls{/number}","milestones_url":"https://api.github.com/repos/learningequality/ka-lite/milestones{/number}","notifications_url":"https://api.github.com/repos/learningequality/ka-lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/learningequality/ka-lite/labels{/name}","releases_url":"https://api.github.com/repos/learningequality/ka-lite/releases{/id}","created_at":"2012-09-09T20:01:40Z","updated_at":"2015-01-24T16:31:39Z","pushed_at":"2015-01-26T14:44:43Z","git_url":"git://github.com/learningequality/ka-lite.git","ssh_url":"git@github.com:learningequality/ka-lite.git","clone_url":"https://github.com/learningequality/ka-lite.git","svn_url":"https://github.com/learningequality/ka-lite","homepage":"https://learningequality.org/ka-lite/","size":192663,"stargazers_count":173,"watchers_count":173,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":195,"mirror_url":null,"open_issues_count":317,"forks":195,"open_issues":317,"watchers":173,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/2893"},"html":{"href":"https://github.com/learningequality/ka-lite/pull/2893"},"issue":{"href":"https://api.github.com/repos/learningequality/ka-lite/issues/2893"},"comments":{"href":"https://api.github.com/repos/learningequality/ka-lite/issues/2893/comments"},"review_comments":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/2893/comments"},"review_comment":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/2893/commits"},"statuses":{"href":"https://api.github.com/repos/learningequality/ka-lite/statuses/e1cd604a2b4d6ab4473b16236975ff941a899c65"}}}}