Created
April 3, 2012 20:54
-
-
Save ChasManRors/2295427 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**** TODO Here is what I did Locally | |
$ rails new newrickrockstar -m http://refinerycms.com/t/2.0.3 -d postgresql --trace | |
$ cd newrickrockstar/ | |
$ bundle install | |
$ # Create dbs newrickrockstar_development newrickrockstar_test newrickrockstar_production with pqadmin3 | |
$ # Change config/database.yml to my username and password | |
$ rake db:migrate | |
$ rake db:seed | |
$ git init | |
$ git add . | |
$ git commit -am "Configured for deployment to Heroku" | |
**** TODO Here is what I did to push to Heroku | |
$ heroku create feewisedev --stack cedar | |
$ heroku labs:enable user_env_compile -a feewisedev | |
$ heroku config:add RUBY_VERSION=ruby-1.9.3-p125 | |
$ heroku config:add PATH=bin:vendor/bundle/ruby/1.9.1/bin:/usr/local/bin:/usr/bin:/bin | |
$ heroku config | |
$ git push heroku master | |
$ heroku run rake db:setup | |
$ gem list tap | |
*** LOCAL GEMS *** | |
taps (0.3.23) | |
$ heroku db:push | |
$ heroku open | |
**** TODO Here is what I see on Heroku http://feewisedev.herokuapp.com/ | |
Initial login and when I login there are no pages not even an about page | |
**** TODO Then I thought perhaps I need to move dev db to production | |
$ pg_dump newrickrockstar_development > newrickrockstar_development.pgdump | |
$ cat newrickrockstar_development.pgdump | psql -d newrickrockstar_production | |
$ heroku db:push | |
$ heroku open # => same result as before no pages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment