Skip to content

how to use this repo

sbilstein edited this page Apr 25, 2012 · 10 revisions

install ruby on rails

http://root2linux.com/2011/01/install-rails-3-on-linux-mint-10/

install postgresql

http://www.postgresql.org/download/linux/

setup a postgres db with a user soundlab on your computer

install heroku: https://toolbelt.heroku.com/ configure heroku as shown

add this remote to the cloned repo on your local machine:

git remote add heroku [email protected]:soundlab.git

to deploy:

git push heroku master

install postgres: http://mrfrosti.com/2011/06/setup-postgresql-with-rails-on-linux/ in linux run these commands with ''sudo -u postgres'' at the beginning config dev & test db:<br >

$ createuser soundlab
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases? (y/n) n
Shall the new role be allowed to create more new roles? (y/n) n

now that we have the user:

$ createdb -Osoundlab -Eutf8 soundlab_development
$ createdb -Osoundlab -Eutf8 soundlab_test

verify functionality by checking the following:

$ psql -U soundlab soundlab_development
psql (9.0.4)
Type "help" for help.

soundlab_development=>

You should now be at an interactive prompt. database.yml is already configured with these settings in the repo you check out, so things should just work.

Clone this wiki locally