Skip to content

Instantly share code, notes, and snippets.

@ryanjduffy
Created May 1, 2013 16:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanjduffy/5496462 to your computer and use it in GitHub Desktop.
Save ryanjduffy/5496462 to your computer and use it in GitHub Desktop.
Parse Cloud Code installer for c9.io
#!/bin/bash
TMP_FILE=~/parse.tmp
if [ -e $TMP_FILE ]; then
echo "Cleaning up from previous install failure"
rm -f $TMP_FILE
fi
echo "Fetching latest version ..."
curl --progress-bar https://www.parse.com/downloads/cloud_code/parse -o $TMP_FILE
echo "Installing ..."
mv $TMP_FILE ~/bin/parse
chmod 755 ~/bin/parse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment