{"action":"opened","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-dashboard/issues/431","repository_url":"https://api.github.com/repos/ParsePlatform/parse-dashboard","labels_url":"https://api.github.com/repos/ParsePlatform/parse-dashboard/issues/431/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-dashboard/issues/431/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-dashboard/issues/431/events","html_url":"https://github.com/ParsePlatform/parse-dashboard/issues/431","id":161925199,"number":431,"title":"Parse dashboard not loading","user":{"login":"newdev7","id":12545377,"avatar_url":"https://avatars.githubusercontent.com/u/12545377?v=3","gravatar_id":"","url":"https://api.github.com/users/newdev7","html_url":"https://github.com/newdev7","followers_url":"https://api.github.com/users/newdev7/followers","following_url":"https://api.github.com/users/newdev7/following{/other_user}","gists_url":"https://api.github.com/users/newdev7/gists{/gist_id}","starred_url":"https://api.github.com/users/newdev7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newdev7/subscriptions","organizations_url":"https://api.github.com/users/newdev7/orgs","repos_url":"https://api.github.com/users/newdev7/repos","events_url":"https://api.github.com/users/newdev7/events{/privacy}","received_events_url":"https://api.github.com/users/newdev7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-23T13:39:08Z","updated_at":"2016-06-23T13:39:08Z","closed_at":null,"body":"Hi,\r\nI have deployed the parse server on heroku using the parse-server-example. I want to deploy the parse-dashboard also in the same server.\r\n\r\nI tried to install the dashboard locally by using the following command.\r\n\r\n`npm install -g parse-dashboard`\r\n`parse-dashboard --appId yourAppId --masterKey yourMasterKey --serverURL \"https://appName.herokuapp.com/parse\" --appName appName`\r\n\r\nWhen I run this command it says,\r\nThe dashboard is now available at http://0.0.0.0:4040/\r\n\r\nThe dashboard loads when I enter that local host in my browser.\r\n\r\nI tried to deploy the dashboard by creating a new project in heroku by following the steps given in the below link.\r\nhttp://android-kill-the-what.blogspot.in/2016/05/heroku-deploy-parse-dashboard-step.html\r\nThe dashboard loads now also when I enter https://appName.herokuapp.com/ in my browser.\r\n\r\nI tried to deploy the dashboard in the same server where I deployed the parse-server.\r\n\r\nCloned the parse-server-example project from https://github.com/ParsePlatform/parse-server-example .\r\n\r\nIn the package.json, I added 'parse-dashboard' as dependency.\r\n```\r\n\"dependencies\": {\r\n   ...\r\n   \"parse-dashboard\": \"1.0.14\"\r\n}\r\n```\r\nIn the index.js file, I added the dashboard settings.\r\n\r\n```\r\n...\r\nvar ParseDashboard = require('parse-dashboard');\r\n...\r\nvar dashboard = new ParseDashboard({\r\n  \"apps\": [\r\n    {   // serverURL, appId, masterKey are same as ParseServer's settings\r\n      \"serverURL\": \"https://appName.herokuapp.com/parse\",\r\n      \"appId\": \"myAppId\",\r\n      \"masterKey\": \"myMasterKey\",\r\n      \"appName\": \"appName\"\r\n    }\r\n  ],\r\n  \"users\": [\r\n     {\r\n       \"user\": username,\r\n       \"pass\": password\r\n     }\r\n   ]\r\n});\r\n...\r\n// make the Parse Dashboard available at /dashboard\r\napp.use('/dashboard', dashboard);\r\n...\r\n```\r\n\r\nAfter adding these codes, I ran `npm install` command in terminal.\r\nAfter that add, commit and pushed to heroku.\r\n\r\nThe parse-server works but parse-dashboard not loading. \r\n\r\nIn Safari, when I enter https://appName.herokuapp.com/ it shows\r\n`I dream of being a website.  Please star the parse-server repo on GitHub!`\r\n\r\nBut when I enter https://appName.herokuapp.com/dashboard it asks me username and password. After I entered those details, three color balls spins around. Nothing happened after that.\r\n\r\nIs there anything am missing?\r\nThanks.\r\n"}}
{"actor":{"display_login":"newdev7"}}