Skip to content

Commit 832a081

Browse files
JeromeDeLeondplewis
authored andcommitted
Add syntax highlighting for bash codes (#6302)
1 parent 47454ef commit 832a081

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Before you start make sure you have installed:
8585
- Optionally [Docker](https://www.docker.com/)
8686

8787
### Locally
88-
```
88+
```bash
8989
$ npm install -g parse-server mongodb-runner
9090
$ mongodb-runner start
9191
$ parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://localhost/test
@@ -94,7 +94,7 @@ $ parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongo
9494

9595

9696
### Inside a Docker container
97-
```
97+
```bash
9898
$ git clone https://github.com/parse-community/parse-server
9999
$ cd parse-server
100100
$ docker build --tag parse-server .
@@ -113,7 +113,7 @@ That's it! You are now running a standalone version of Parse Server on your mach
113113
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:
114114

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

151151
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:
152152

153-
```
153+
```bash
154154
$ curl -X GET \
155155
-H "X-Parse-Application-Id: APPLICATION_ID" \
156156
http://localhost:1337/parse/classes/GameScore

0 commit comments

Comments
 (0)