From 0444b00b9fe8d07808437e9c8afb7650b1910fc6 Mon Sep 17 00:00:00 2001 From: Vijaya Prakash Kandel Date: Fri, 15 Apr 2016 21:18:21 +0200 Subject: [PATCH] Update README.md Added informative command for parse-dashboard --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 9aeac1f..69c27de 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,27 @@ $ docker run -d \ --link parse-server \ --name parse-dashboard \ yongjhih/parse-dashboard + +#The above command will asuume you will later create a ssh +#and log into the dashboard remotely in production. +# However, to see the dashboard instanly using either +# localhost:4040 or someip:4040(if hosted somewhere remotely) +#then you need to add extra option to allowInsecureHTTP like +#It is also required that you create username and password +#before accessing the portal else you cant get in + +$ docker run -d \ + -e APP_ID=$(PARSE_APP_ID)\ + -e MASTER_KEY=$(PARSE_MASTER_KEY)\ + -e PARSE_DASHBOARD_ALLOW_INSECURE_HTTP=1 \ + -e USER1=yourUsername \ + -e USER1_PASSWORD=yourUsernamesPassword \ + -e PARSE_SERVER_URL=http://localhost:1337/parse \ + -p 4040:4040 \ + --link parse-server \ + --name parse-dashboard \ + yongjhih/parse-dashboard + ``` or with docker-compose: