The document outlines steps on how to setup a local Parse Server to match your NodeChef environment. Some developers prefer to have a dev environment locally without having to make code changes at deploy time. A local environment also provides the comfort of debugging with IDE tools and so on. Note, a local dev environment does not eliminate the need for a staging environment hosted on NodeChef
From github download the Parse Server example project and extract to a folder of your choice.
You should notice a cloud and public folder in the directory in which you extracted the example project. You cloud code will reside in the cloud folder and static assets in the public folder.
Make sure node is installed and run "npm install" to install the project dependencies. A folder with name node_modules should be created in the directory after it completes.
Modify your index.js file using the example index.js provided from this link. The code allows you to define a global object app of type express which you can reference from your cloud code. Server.setConfigureOption is also defined which allows you to use the appconfg.js in your local environment.
Replace the enrivonment variable declarations in the index.js file with their corresponding values. The specific values to replace include: process.env.APP_ID, process.env.MASTER_KEY and process.env.DATABASE_URI.