Heroku deploy Parse-dashboard
Step
- Login heroku
- Create New App
- ...
- settings->Reveal Config Vars add PARSE_DASHBOARD_ALLOW_INSECURE_HTTP = 1
- download https://github.com/ParsePlatform/parse-dashboard to local add cd parse-dashboard/Parse-Dashboard/public run command npm install
- edit your .gitignore file and remove the following lines (parse-dashboard/.gitignore)
bundles/
Parse-Dashboard/public/bundles/
Parse-Dashboard/parse-dashboard-config.json
7. edit your parse-dashboard-config.json (parse-dashboard/Parse-Dashboard/)
{
"apps": [
{
"serverURL": "http://url-to-your-parse-server/parse", // If your Parse Server's endpoint is not at /parse, you need to replace /parse with the correct endpoint
"appId": "your-app-Id",
"masterKey": "your-master-key",
"appName": "your-app-name"
}
],
"users": [
{
"user":"username1", // Used to log in to your Parse Dashboard
"pass":"password1"
}
]
}
- open/edit Procfile add web: bin/parse-dashboard --config Parse-Dashboard/parse-dashboard-config.json --allowInsecureHTTP
9. deploy to heroku
ไม่มีความคิดเห็น:
แสดงความคิดเห็น