Skip to content

Instantly share code, notes, and snippets.

View ntreadway's full-sized avatar

Nick Treadway ntreadway

  • Yeti Media
  • Orange County, Ca
  • X @nicktea
View GitHub Profile
@arcdev1
arcdev1 / deploy2parse.sh
Last active January 13, 2016 12:49
Deploy to Parse from Codeship
# Install the Parse Command Line Tool
export TMP_FILE=/tmp/parse.tmp
export latest=`curl -X GET https://api.parse.com/1/supported?version=latest|grep -Po '(\d.\d.\d)'`
export url="https://github.com/ParsePlatform/parse-cli/releases/download/release_${latest}/parse_linux"
curl --progress-bar --compressed -Lo ${TMP_FILE} ${url}
mv /tmp/parse.tmp ${HOME}/bin/parse
chmod 755 ${HOME}/bin/parse
# Avoid login prompt by using a Parse account key
# Note: Make sure you have created an account key at https://dashboard.parse.com/account/overview