Skip to content

Instantly share code, notes, and snippets.

@d
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save d/c856c6322256fdfa161c to your computer and use it in GitHub Desktop.
Save d/c856c6322256fdfa161c to your computer and use it in GitHub Desktop.
How to use the Reider AMI
  • Launch the instance into your VPC
  • ssh -A ubuntu@$PUBLIC_IP
  • cd ~/tempest.git; git fetch
  • sudo su - tempest # using the password i tell you
  • cd ~/tempest-web; git pull --ff-only ~ubuntu/tempest.git origin/master
  • cd ~/tempest-web/web; bin/bundle --without test --deployment && env BUNDLE_GEMFILE=bosh.Gemfile bin/bundle --deployment
  • edit the config/database.yml to change the database user name to tempest
  • cd ~/tempest-web/web; bundle exec rake db:create db:migrate RAILS_ENV=development
  • Inside /tempest-web/web/.env file, search and replace "/workspace/installation/" with "~/tempest-web/"
  • env TEMPEST_INFRASTRUCTURE=aws bin/rails s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment