Scripts for setting up AWS instances for various deployment environment
29 Jun 2014- Now the stanford script runs without any user intervention and sets the machinename
$ wget https://raw.github.com/genemyers/deployenvirons/master/stanford_dev_env.sh
Now run
$ bash stanford_dev_env.sh | tee install.log
Please note that 'tee' allows the output of the script to be printed to the console and the screen simultaneously . If there any argument after stanford_dev_env.sh, it won’t install the Heroku tool belt.
The final operation in the Stanford script creates the Github keys and prints the pub key info to the screen, with the following instructions.
#prints pub key to the console
$ cat ~/.ssh/id_rsa.pub
Go into your GitHub account, then go to and add or update the key for the environment you are using.
https://github.com/settings/ssh
Now come back to the command line and type in:
$ ssh -T git@github.com
You should see
Hi [username]! You've successfully authenticated, but GitHub does not provide shell access!
if you’ve added the SSH key successfully.
Clone and run this on a new EC2 instance running Ubuntu 12.04.2 LTS to configure both the machine and your individual development environment as follows:
cd $HOME
sudo apt-get install -y git-core
git clone https://github.com/startup-class/setup.git
./setup/setup.sh See also http://github.com/startup-class/dotfiles and Startup Engineering Video Lectures 4a/4b for more details.
Clone and run this on a new EC2 instance running Ubuntu 12.04.2 LTS to
configure your bash and emacs development environment as follows:
cd $HOME
git clone https://github.com/startup-class/dotfiles.git
ln -sb dotfiles/.screenrc .
ln -sb dotfiles/.bash_profile .
ln -sb dotfiles/.bashrc .
ln -sb dotfiles/.bashrc_custom .
mv .emacs.d .emacs.d~
ln -s dotfiles/.emacs.d .See also http://github.com/startup-class/setup to install prerequisite
programs. If all goes well, in addition to a more useful prompt, now you can
do emacs -nw hello.js and hitting C-c! to launch an interactive SSJS
REPL, among many other features. See the
Startup Engineering Video Lectures 4a/4b
for more details.