Skip to content

Commit

Permalink
Merge pull request yongjhih#27 from kandelvijaya/kandelvijaya-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
yongjhih committed Apr 16, 2016
2 parents 98b5cf4 + 1b81d6a commit 1448763
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -90,6 +111,12 @@ Deploy parse-cloud-code via git:
[![Screencast - git](https://github.com/yongjhih/docker-parse-server/raw/master/art/docker-parse-server-git.gif)](https://youtu.be/9YwWbiRyPUU)

```sh
#This command wil create a SSH keys for you as
# ~/.ssh/id_rsa.pub and another private key.
#you can leave the options balnk by pressing enter.

$ssh-keygen -t rsa

$ docker exec -i parse-server ssh-add-key < ~/.ssh/id_rsa.pub

$ git clone ssh://git@localhost:2022/parse-cloud-code
Expand Down

0 comments on commit 1448763

Please sign in to comment.