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