Commits

Mike Steder committed 9923dfa

Merging bashrc mods.

Comments (0)

Files changed (2)

 export GOARCH=amd64
 export GOBIN=$HOME/bin
 
+# RVM: (like virtualenv for ruby?)
+[[ -s "/Users/steder/.rvm/scripts/rvm" ]] && source "/Users/steder/.rvm/scripts/rvm"  # This loads RVM into a shell session.
+
+# Cassandra:
+export CASSANDRA_PATH=~/GO/Cassandra/apache-cassandra-1.0.0-rc2/bin
+export PATH="${CASSANDRA_PATH}:${PATH}"
+
 REPO=https://svn.ci.uchicago.edu/svn/koa
 export REPO
 
 
 if [ -e /usr/local/bin/virtualenvwrapper.sh ]; then
     source /usr/local/bin/virtualenvwrapper.sh
-fi
-if [ -e /usr/local/share/python/virtualenvwrapper.sh ]; then
+elif [ -e /usr/local/share/python/virtualenvwrapper.sh ]; then
 	source /usr/local/share/python/virtualenvwrapper.sh
 fi
+
+# EC2
+
+export AWS_KEYPAIR=steder.ci
+export EC2_CERT=$(/bin/ls ~/.ec2/cert-*.pem)
+export EC2_PRIVATE_KEY=$(/bin/ls ~/.ec2/pk-*.pem)
+# bryce uses EC2_KEY in his configs
+export EC2_KEY=$EC2_PRIVATE_KEY
+export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Home"
+export EC2_AMITOOL_HOME="/usr/local/Cellar/ec2-ami-tools/1.3-45758/jars"
+export EC2_HOME="/usr/local/Cellar/ec2-api-tools/1.4.2.2/jars"
+
+# GO Specific Bash Configuration:
+# this stuff shouldn't get checked in on bitbucket
+if [ -e ~/.gorc ]; then
+    . ~/.gorc
+fi
+
     Hostname localhost
     Port 22179
     HostKeyAlias app1
-    CheckHostIp no
+    CheckHostIp no
+
+Host cassandra-bench0
+  User cassandra
+  Hostname ec2-184-73-20-56.compute-1.amazonaws.com
+  ForwardAgent yes
+  SendEnv GIT_*
+
+Host cassandra-bench1
+  User cassandra
+  Hostname ec2-50-17-61-8.compute-1.amazonaws.com
+  ForwardAgent yes
+  SendEnv GIT_*
+
+Host cassandra-bench2
+  User cassandra
+  Hostname ec2-50-16-177-104.compute-1.amazonaws.com
+  ForwardAgent yes
+  SendEnv GIT_*
+
+Host cassandra-bench-client0
+  User gostore
+  Hostname ec2-50-19-8-174.compute-1.amazonaws.com
+  ForwardAgent yes
+  SendEnv GIT_*