Created
February 26, 2013 06:56
-
-
Save kmichel/5036521 to your computer and use it in GitHub Desktop.
OSX setup script for Google Cloud for Data Crunchers tutorial at StrataConf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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