From 832a081bfb3bb74bfaae009f5b60f047fce87d6b Mon Sep 17 00:00:00 2001 From: Jerome De Leon <32805276+JeromeDeLeon@users.noreply.github.com> Date: Sat, 28 Dec 2019 02:28:13 +0800 Subject: [PATCH] Add syntax highlighting for bash codes (#6302) --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 03d3210b72..d8d63e9fbc 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 . @@ -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}' \ @@ -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