{"action":"created","issue":{"url":"https://api.github.com/repos/learningequality/ka-lite/issues/2893","labels_url":"https://api.github.com/repos/learningequality/ka-lite/issues/2893/labels{/name}","comments_url":"https://api.github.com/repos/learningequality/ka-lite/issues/2893/comments","events_url":"https://api.github.com/repos/learningequality/ka-lite/issues/2893/events","html_url":"https://github.com/learningequality/ka-lite/pull/2893","id":55397463,"number":2893,"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},"labels":[{"url":"https://api.github.com/repos/learningequality/ka-lite/labels/has%20PR","name":"has PR","color":"ededed"}],"state":"open","locked":false,"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":29,"closed_issues":165,"state":"open","created_at":"2014-05-12T16:58:11Z","updated_at":"2015-01-27T21:13:49Z","due_on":"2015-01-31T08:00:00Z","closed_at":null},"comments":6,"created_at":"2015-01-25T04:48:28Z","updated_at":"2015-01-27T22:35:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/learningequality/ka-lite/pulls/2893","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"},"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\n- [ ] Testing on Win\r\n- [ ] Testing on OSX\r\n- [ ] Testing on Android\r\n- [x] Testing on Linux (Ubuntu)\r\n- [ ] Test case for .travis\r\n- [ ] Bat script for Windows, currently do: `python.exe bin/kalite`\r\n- [ ] Resolve how implementation should work with service / task / rc.d etc systems.\r\n- [x] Document SHELL environment variables"},"comment":{"url":"https://api.github.com/repos/learningequality/ka-lite/issues/comments/71742978","html_url":"https://github.com/learningequality/ka-lite/pull/2893#issuecomment-71742978","issue_url":"https://api.github.com/repos/learningequality/ka-lite/issues/2893","id":71742978,"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},"created_at":"2015-01-27T22:35:49Z","updated_at":"2015-01-27T22:35:49Z","body":"Tested on the mac. `bin/kalite manage setup`, `bin/kalite start` and `bin/kalite stop` works as expected.\r\n\r\nFor the `setup` command, it might be good to remove this output:\r\n```\r\n2611 static files copied.\r\nScanning for video files in the content directory (/Users/aron/src/github.com/aronasorman/ka-lite/content/)\r\n\r\nCONGRATULATIONS! You've finished setting up the KA Lite server software.\r\n\tPlease run '/Users/aron/src/github.com/aronasorman/ka-lite/start.command' to start the server,\r\n\tthen load one of the following addresses in your browser to complete the configuration:\r\n\t\thttp://192.168.2.1:8008/\r\n\t\thttp://192.168.2.138:8008/\r\n\t\thttp://127.0.0.1:8008/\r\n\t\thttp://192.168.53.1:8008/\r\n```\r\n\r\nsince the server isn't running yet at that time."}}