Abhishek
Abhishek

Reputation: 2305

Remotely access Parse dashboard

I managed to configure stand alone Parse server for my Android app using ubuntu server and mongoDB. And now Parse released its open source dashboard for parse server which I am able to setup but getting error in accessing it remotely.

As it says "Parse Dashboard can only be remotely accessed via HTTPS". I have almost no experience of developing web app. I have tried changing http to https in url but it didn't worked!

I have also tried adding username and password for basic auth, but it didn't worked either! Here's link for parse dashboard

https://github.com/ParsePlatform/parse-dashboard

Upvotes: 0

Views: 4729

Answers (4)

af001
af001

Reputation: 61

The answer from @xiaowoo worked for me. For a visual, I watched this video

Install Parse Server and Parse Dashboard to Digital Ocean

In summary, here is what I ended up running:

parse-dashboard --appId MyApp --masterKey mysupersecretmasterkey --serverURL "https://198.58.10.23/parse" --appName TestApp --allowInsecureHTTP=1

Server response:

The dashboard is now available at http://0.0.0.0:4040/

Browse to your dashboard:

http://198.58.10.23:4040

Upvotes: 0

luizfelipetx
luizfelipetx

Reputation: 394

im working with ParseServer And ParseDashboard to Start we cant create confused about two.

For me , more important is ParseDashboard, And yes you can acess Remotely, firstly you need create a hack direct in code to do that.

To run parse dashboard without problems follow this steps. git clone [email protected]:ParsePlatform/parse-dashboard.git cd parse-dashboard npm install

After this! after!...

npm run dashboard

This screen will be showed to you... When this image is running you can acess by url your serverIp:4040 will show dashboard.

dashboard is running.

Upvotes: 0

xiaowoo
xiaowoo

Reputation: 2308

I have the same problem. I set up the parse server through heroku. I tried antsyawn's suggestion, it did not work. The github to parse-dashboard just updated a little more.

Now you should:

npm install -g parse-dashboard
parse-dashboard --appId yourAppId --masterKey yourMasterKey --serverURL "https://example.com/parse" --appName optionalName

They did suggested to add --allowInsecureHTTP=1

Nevertheless, I tried all that as well and its not working. May be you can try this too since you set up your server differently(it might work).

Upvotes: 0

antsyawn
antsyawn

Reputation: 981

Try starting the dashboard like this:

export PARSE_DASHBOARD_ALLOW_INSECURE_HTTP=1
npm run dashboard

Upvotes: 0

Related Questions