Parse Dashboard can only be remotely accessed via HTTPS
Follow these steps to get parse dashboard running and accessible over public ip:
- Create a config file your-config-filename.json
- Add the following json structure to it and don't forget to replace with your app values:
{
"apps": [
{
"serverURL": "https://api.parse.com/1",
"appId": "myAppId",
"masterKey": "myMasterKey",
"javascriptKey": "myJavascriptKey",
"restKey": "myRestKey",
"appName": "My Parse.Com App"
},
{
"serverURL": "http://localhost:1337/parse",
"appId": "myAppId",
"masterKey": "myMasterKey",
"appName": "My Parse Server App"
}
],
"users": [
{
"user":"user1",
"pass":"pass"
},
{
"user":"user2",
"pass":"pass"
}
]
}
- Save the config file and run the following command:
parse-dashboard --config <your-config-filename>.json --allowInsecureHTTP true
Enjoy!
For first way: you can use "--allowInsecureHTTP true" parameter on command line and for authentication use users section of config file:
{
"apps": [...],
"users": [
{
"user":"user1",
"pass":"pass"
},
{
"user":"user2",
"pass":"pass"
}
]
}