{"action":"created","issue":{"url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/issues/166","labels_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/issues/166/comments","events_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/issues/166/events","html_url":"https://github.com/sfu-natlang/lensingwikipedia/pull/166","id":59429214,"number":166,"title":"Use Flask to serve Lensing instead of statically serve index.html","user":{"login":"vlad003","id":631497,"avatar_url":"https://avatars.githubusercontent.com/u/631497?v=3","gravatar_id":"","url":"https://api.github.com/users/vlad003","html_url":"https://github.com/vlad003","followers_url":"https://api.github.com/users/vlad003/followers","following_url":"https://api.github.com/users/vlad003/following{/other_user}","gists_url":"https://api.github.com/users/vlad003/gists{/gist_id}","starred_url":"https://api.github.com/users/vlad003/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlad003/subscriptions","organizations_url":"https://api.github.com/users/vlad003/orgs","repos_url":"https://api.github.com/users/vlad003/repos","events_url":"https://api.github.com/users/vlad003/events{/privacy}","received_events_url":"https://api.github.com/users/vlad003/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-02T01:36:06Z","updated_at":"2015-03-05T17:46:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/pulls/166","html_url":"https://github.com/sfu-natlang/lensingwikipedia/pull/166","diff_url":"https://github.com/sfu-natlang/lensingwikipedia/pull/166.diff","patch_url":"https://github.com/sfu-natlang/lensingwikipedia/pull/166.patch"},"body":"This allows us to work on the same code (instead of me copying code from `frontend/` to test).\r\n\r\nAll of the javascript and CSS served by this is a direct copy of what's in `frontend/`, so nothing changed in terms of functionality. The domain specific .js files are controlled by a `config.py` and conditionals within the templates.\r\n\r\nSo far I've only tested the wikipediahistory domain (the default) since I'm not too sure what avherald should look like. I wrote all of the `<script>` and `<link>` tags based on the Makefiles, so it _should_ work the same as before."},"comment":{"url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/issues/comments/77412065","html_url":"https://github.com/sfu-natlang/lensingwikipedia/pull/166#issuecomment-77412065","issue_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/issues/166","id":77412065,"user":{"login":"anoopsarkar","id":193767,"avatar_url":"https://avatars.githubusercontent.com/u/193767?v=3","gravatar_id":"","url":"https://api.github.com/users/anoopsarkar","html_url":"https://github.com/anoopsarkar","followers_url":"https://api.github.com/users/anoopsarkar/followers","following_url":"https://api.github.com/users/anoopsarkar/following{/other_user}","gists_url":"https://api.github.com/users/anoopsarkar/gists{/gist_id}","starred_url":"https://api.github.com/users/anoopsarkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anoopsarkar/subscriptions","organizations_url":"https://api.github.com/users/anoopsarkar/orgs","repos_url":"https://api.github.com/users/anoopsarkar/repos","events_url":"https://api.github.com/users/anoopsarkar/events{/privacy}","received_events_url":"https://api.github.com/users/anoopsarkar/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T17:46:10Z","updated_at":"2015-03-05T17:46:10Z","body":"d'oh. you're right. upstart is used to launch the backend and has nothing to do with serving the frontend.\r\n\r\nok. I will merge and update the webserver with master.\r\n"}}