postgresql

javascript sux, let's do something else
*checks PivotalTracker*
okay let's migrate from sqlite to postgresql
check postgresql install
suspicious
jh$ brew uninstall postgresql (Terminal commands)
jh$ brew doctor
frown
cmd-c cmd-v (ctrl-c ctrl-v) some command
frown
jh$ brew list
frown
jh$ brew install postgresql
...
/some installation cmd
error
frown
restart
jh$ init something
error
restart
frown
jh$ some command
jh$ some command
jh$ some command
jh$ which psql  (hm Lion comes with another psql)
jh$ psql --version
frown
download new pgadmin3
install pgadmin3
modify database.yml
jh$ rails s
localhost:3000
it starts!
frown
add port:5432
jh$ cmd-c
jh$ rails s
error
localhost:3000
jh$ rake db:migrate
it starts!
blank database
:)

~2 hours.

postgresql

Leave a Reply

Your email address will not be published. Required fields are marked *