Created
January 5, 2013 07:20
-
-
Save sankitch/4460309 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/sh | |
cd /path/to/dir | |
git clone git://github.com/redmine/redmine.git | |
cd redmine | |
git checkout -b production | |
vim .gitignore # *1 | |
vim Gemfile # *2 | |
vim config/application.rb # *3 | |
vim config/environment.rb # *4 | |
bundle install --path=.bundle --without production:mysql:postgresql | |
bundle exec rake generate_secret_token | |
# heroku accounts:set ACCOUNT_NAME | |
heroku create APPNAME | |
git add . | |
git commit -m "Prepare for heroku." | |
git push heroku production:master | |
heroku run rake db:migrate | |
heroku run rake redmine:load_default_data | |
heroku open |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment