#Parse Cloud Code
Share Cloud Code functions used on both iOS and Android Apps.
- Clone the repository
git clone https://github.com/CodePath-MAF/CloudCode.git
- Create the config file
Create config/global.json and add in the Parse Application & Client ID for the project following this sample:
{
"applications": {
"CodePath - MAF": {
"applicationId": "PARSE_APPLICATION_ID",
"masterKey": "PARSE_MASTER_KEY"
},
"_default": {
"link": "CodePath - MAF"
}
}
}Note: This config file will be gitginore.
- Install the Command Line Tool
curl -s https://www.parse.com/downloads/cloud_code/installer.sh | sudo /bin/bash
When you're ready to deploy changes to parse run: parse deploy