Parse server dashboard login

℡╲_俬逩灬. 提交于 2019-12-06 12:38:28

问题


So, I am new to Android Studio. I'm following an online course step by step. I'm using ParseServer on AWS. I've managed to get my appId, etc. and can connect with a Java SSH Client directly from my browser. My app can successfully store information in the ParseServer, but I can't access the parse dashboard. When I try to it asks me to enter my username and password -- which I don't have.

I've found a file (in bitnami terminal) and I think that I should maybe make myself an account in here?

# /home/bitnami/apps/parse/.forever/config.json


{
  "root": "/opt/bitnami/apps/parse/.forever",
  "pidPath": "/opt/bitnami/apps/parse/.forever/pids",
  "sockPath": "/opt/bitnami/apps/parse/.forever/sock",
  "loglength": 100,
  "logstream": false,
  "columns": [
    "uid",
    "command",
    "script",
    "forever",
    "pid",
    "id",
    "logfile",
    "uptime"
  ]
}

回答1:


The issue lays with wherever you're instantiating the dashboard. For me, this is inside index.js.
var dashboard = new ParseDashboard({ "apps": [ { "serverURL": process.env.SERVER_URL, "appId": process.env.APP_ID, "masterKey": process.env.MASTER_KEY, "appName": process.env.APP_NAME, "javascriptKey": process.env.JS_KEY, } ], "users": [ { "user":<username>, "pass":<password> } ], "useEncryptedPasswords": true, //Requires Bcrypt encrypted passwords. Set to false if you want the explicit <password> plain text string to be your password) "trustProxy": 1 });




回答2:


Thansk for answering my question!

The right answer is to find here: https://docs.bitnami.com/aws/faq/#how-to-find-application-credentials:

Username: user

Password: -> On EC2 / Amazon you must go this way: Instance Settings -> Get System Log -> Look for your password, which was given from system by setup

That's all!



来源:https://stackoverflow.com/questions/43296231/parse-server-dashboard-login

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!