Skip to content

Commit

Permalink
Add syntax highlighting for bash codes (#6302)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeDeLeon authored and dplewis committed Dec 27, 2019
1 parent 47454ef commit 832a081
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Before you start make sure you have installed:
- Optionally [Docker](https://www.docker.com/)

### Locally
```
```bash
$ npm install -g parse-server mongodb-runner
$ mongodb-runner start
$ parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://localhost/test
Expand All @@ -94,7 +94,7 @@ $ parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongo


### Inside a Docker container
```
```bash
$ git clone https://github.com/parse-community/parse-server
$ cd parse-server
$ docker build --tag parse-server .
Expand All @@ -113,7 +113,7 @@ That's it! You are now running a standalone version of Parse Server on your mach
Now that you're running Parse Server, it is time to save your first object. We'll use the [REST API](http://docs.parseplatform.org/rest/guide), but you can easily do the same using any of the [Parse SDKs](http://parseplatform.org/#sdks). Run the following:

```bash
curl -X POST \
$ curl -X POST \
-H "X-Parse-Application-Id: APPLICATION_ID" \
-H "Content-Type: application/json" \
-d '{"score":1337,"playerName":"Sean Plott","cheatMode":false}' \
Expand Down Expand Up @@ -150,7 +150,7 @@ $ curl -X GET \

Keeping tracks of individual object ids is not ideal, however. In most cases you will want to run a query over the collection, like so:

```
```bash
$ curl -X GET \
-H "X-Parse-Application-Id: APPLICATION_ID" \
http://localhost:1337/parse/classes/GameScore
Expand Down

0 comments on commit 832a081

Please sign in to comment.