Mephisto deployment script
CS290F Fall 2006 - UCSB Computer Science - Thorsten von Eicken
If you scp the following shell script to a fresh EC2 "cs290f rails" image and run it as user, then it will install mephisto and start the mongrel server.
#!/bin/bash sudo /etc/init.d/postgresql start sudo gem install -r tzinfo svn checkout http://svn.techno-weenie.net/projects/mephisto/trunk mephisto cd mephisto rake rails:freeze:edge createdb mephisto cat <<DATABASE_YML > config/database.yml development: adapter: postgresql hostname: localhost database: mephisto username: user password: cs290f@ucsb test: adapter: postgresql hostname: localhost database: mephisto username: user password: cs290f@ucsb production: adapter: postgresql hostname: localhost database: mephisto username: user password: cs290f@ucsb DATABASE_YML rake db:bootstrap ruby script/server -e production
