{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1426","repository_url":"https://api.github.com/repos/ParsePlatform/parse-server","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1426/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1426/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1426/events","html_url":"https://github.com/ParsePlatform/parse-server/issues/1426","id":146820457,"number":1426,"title":"Parse Server doesn't start with LiveQuery on Azure","user":{"login":"Sofianebenabdallah","id":17195768,"avatar_url":"https://avatars.githubusercontent.com/u/17195768?v=3","gravatar_id":"","url":"https://api.github.com/users/Sofianebenabdallah","html_url":"https://github.com/Sofianebenabdallah","followers_url":"https://api.github.com/users/Sofianebenabdallah/followers","following_url":"https://api.github.com/users/Sofianebenabdallah/following{/other_user}","gists_url":"https://api.github.com/users/Sofianebenabdallah/gists{/gist_id}","starred_url":"https://api.github.com/users/Sofianebenabdallah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sofianebenabdallah/subscriptions","organizations_url":"https://api.github.com/users/Sofianebenabdallah/orgs","repos_url":"https://api.github.com/users/Sofianebenabdallah/repos","events_url":"https://api.github.com/users/Sofianebenabdallah/events{/privacy}","received_events_url":"https://api.github.com/users/Sofianebenabdallah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-08T05:48:06Z","updated_at":"2016-04-08T13:49:12Z","closed_at":null,"body":"Hello,\r\n\r\nI would like to try LiveQuery. I update package.json with :\r\n\r\n```\r\n{\r\n  \"name\": \"parse-server-example\",\r\n  \"version\": \"1.0.0\",\r\n  \"description\": \"An example Parse API server using the parse-server module\",\r\n  \"main\": \"index.js\",\r\n  \"repository\": {\r\n    \"type\": \"git\",\r\n    \"url\": \"https://github.com/Azure/parse-server-example\"\r\n  },\r\n  \"license\": \"MIT\",\r\n  \"dependencies\": {\r\n    \"express\": \"~4.2.x\",\r\n    \"kerberos\": \"~0.0.x\",\r\n    \"parse\": \"^1.8.0\",\r\n    \"parse-server\": \"~2.2.6\",\r\n    \"parse-server-push-adapter\": \"^1.0.0\"\r\n  },\r\n  \"scripts\": {\r\n    \"start\": \"node index.js\"\r\n  },\r\n  \"engines\": {\r\n    \"node\": \">=4.3\"\r\n  }\r\n}\r\n\r\n```\r\nIf I add these lines :\r\n```\r\n// Initialize a LiveQuery server instance, app is the express app of your Parse Server\r\nvar httpServer = require('http').createServer(app);\r\nhttpServer.listen(port);\r\nvar parseLiveQueryServer = ParseServer.createLiveQueryServer(httpServer);\r\n```\r\n\r\nDo I need add some other variable ??"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/comments/207439327","html_url":"https://github.com/ParsePlatform/parse-server/issues/1426#issuecomment-207439327","issue_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1426","id":207439327,"user":{"login":"Sofianebenabdallah","id":17195768,"avatar_url":"https://avatars.githubusercontent.com/u/17195768?v=3","gravatar_id":"","url":"https://api.github.com/users/Sofianebenabdallah","html_url":"https://github.com/Sofianebenabdallah","followers_url":"https://api.github.com/users/Sofianebenabdallah/followers","following_url":"https://api.github.com/users/Sofianebenabdallah/following{/other_user}","gists_url":"https://api.github.com/users/Sofianebenabdallah/gists{/gist_id}","starred_url":"https://api.github.com/users/Sofianebenabdallah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sofianebenabdallah/subscriptions","organizations_url":"https://api.github.com/users/Sofianebenabdallah/orgs","repos_url":"https://api.github.com/users/Sofianebenabdallah/repos","events_url":"https://api.github.com/users/Sofianebenabdallah/events{/privacy}","received_events_url":"https://api.github.com/users/Sofianebenabdallah/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T13:49:12Z","updated_at":"2016-04-08T13:49:12Z","body":"I need to do some tests, but I may resolve it :\r\nI delete this code :\r\n\r\n```\r\napp.listen(port, function() {\r\n    console.log('parse-server-example running on port ' + port + '.');\r\n});\r\n```\r\n\r\nand replace with this code :\r\n\r\n```\r\nvar port = process.env.PORT || 1337;\r\nvar httpServer = require('http').createServer(app);\r\n\r\nhttpServer.listen(port, function() {\r\n    console.log('parse-server-example running on port ' + port + '.');\r\n});\r\n\r\n```\r\n\r\nParse is running."}}