Created
August 28, 2010 07:12
-
-
Save mchung/554843 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
Run this to host refinery-0.9.7.13 on Heroku | |
# 1. Basic installation | |
rvm use 1.8.7-p174@refinery2 --create | |
gem install bundler | |
gem install refinerycms | |
# 2. Run refinerycms. Ensure postgres has started | |
refinerycms refineroku --database=postgresql | |
# 3. Add everything to git! | |
cd refineroku | |
git init | |
git add . | |
git commit -m "Initial commit" | |
# 4. Update Gemfile | |
Change: | |
gem 'acts_as_indexed' to | |
gem 'acts_as_indexed', :git => 'git://github.com/parndt/acts_as_indexed.git' | |
Add (uncomment): | |
gem 'aws-s3' | |
# 5. Update .gitignore | |
Remove (comment); | |
amazon_s3.yml | |
# 6. Run the server | |
bundle install | |
./script/server | |
# 7. Push to heroku | |
gem install heroku | |
heroku create refineroku --stack bamboo-ree-1.8.7 | |
heroku config:add S3_KEY=foobar | |
heroku config:add S3_SECRET=bazbooz | |
bundle lock | |
git add . | |
git commit -am "Heroku update" | |
git push heroku master | |
heroku rake db:setup | |
# Launch, visit http://refineroku.heroku.com | |
heroku open |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment