Skip to content

syntax highlight json files in readme #287

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 22, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ You can then visit the dashboard in your browser at http://localhost:4040. You m

If you want to manage multiple apps from the same dashboard, you can start the dashboard with a config file. For example, you could put your info into a file called `parse-dashboard-config.json` and then start the dashboard using `parse-dashboard --config parse-dashboard-config.json`. The file should match the following format:

```
```json
{
"apps": [
{
Expand All @@ -38,7 +38,7 @@ If you want to manage multiple apps from the same dashboard, you can start the d

You can also manage apps that on Parse.com from the same dashboard. In your config file, you will need to add the `restKey` and `javascriptKey` as well as the other paramaters, which you can find on `dashboard.parse.com`. Set the serverURL to `http://api.parse.com/1`:

```
```json
{
"apps": [
{
Expand All @@ -62,7 +62,7 @@ You can also manage apps that on Parse.com from the same dashboard. In your conf

Parse Dashboard also supports adding an optional icon for each app, so you can identify them easier in the list. To do so, you *must* use the configuration file, define an `iconsFolder` in it, and define the `iconName` parameter for each app (including the extension). The path of the `iconsFolder` is relative to the configuration file. To visualize what it means, in the following example `icons` is a directory located under the same directory as the configuration file:

```
```json
{
"apps": [
{
Expand Down Expand Up @@ -90,7 +90,8 @@ You can set `appNameForURL` in the config file for each app to control the url o
Make sure the server URLs for your apps can be accessed by your browser. If you are deploying the dashboard, then `localhost` urls will not work.

In order to securely deploy the dashboard without leaking your apps master key, you will need to use HTTPS and Basic Auth. You can do this by adding usernames and passwords for HTTP Basic Auth to your configuration file.
```

```json
{
"apps": [...],
"users": [
Expand All @@ -112,7 +113,7 @@ The deployed dashboard detects if you are using a secure connection. If you are

If you want to restrict apps based on user identity, you can update your config file to match the following format:

```
```json
{
"apps": [ … ],
"users": [
Expand Down