Skip to content

Instantly share code, notes, and snippets.

@kmichel
Created February 26, 2013 06:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kmichel/5036521 to your computer and use it in GitHub Desktop.
Save kmichel/5036521 to your computer and use it in GitHub Desktop.
OSX setup script for Google Cloud for Data Crunchers tutorial at StrataConf
#!/usr/bin/env bash
set -e
echo '****** Installing BigQuery ******'
sudo easy_install bigquery
echo '****** Installing gcutil ******'
curl https://google-compute-engine-tools.googlecode.com/files/gcutil-1.7.1.tar.gz | tar xvzpf -
echo "export PATH=\${PATH}:${PWD}/gcutil-1.7.1" >> ~/.bash_profile
source ~/.bash_profile
gcutil help
echo '****** Installing gsutil ******'
curl http://commondatastorage.googleapis.com/pub/gsutil.tar.gz | tar xvzf -
echo "export PATH=\${PATH}:${PWD}/gsutil" >> ~/.bash_profile
source ~/.bash_profile
gsutil update
echo '****** Installing AppEngine SDK ******'
curl -O http://googleappengine.googlecode.com/files/GoogleAppEngineLauncher-1.7.5.dmg
hdiutil attach GoogleAppEngineLauncher-1.7.5.dmg
cp -r `hdiutil info | grep /dev/disk.*GoogleAppEngine | cut -f3`/GoogleAppEngineLauncher.app /Applications/
open /Applications/GoogleAppEngineLauncher.app
hdiutil detach `hdiutil info | grep /dev/disk.*GoogleAppEngine | cut -f1`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment