Created
November 13, 2012 05:27
-
-
Save konishi/4064101 to your computer and use it in GitHub Desktop.
herokuにデプロイする方法 ref: http://qiita.com/items/e4e90888906b6323aead
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
git init -q && git commit -q --allow-empty -m 'Initialize repository' | |
git init | |
git add -A | |
git commit |
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
$ heroku create --stack cedar | |
Creating blazing-galaxy-997... done, stack is cedar | |
http://blazing-galaxy-997.herokuapp.com/ | git@heroku.com:blazing-galaxy-997.git | |
Git remote heroku added |
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
$ git push heroku master | |
Counting objects: 6, done. | |
Delta compression using up to 4 threads. | |
Compressing objects: 100% (5/5), done. | |
Writing objects: 100% (6/6), 660 bytes, done. | |
Total 6 (delta 0), reused 0 (delta 0) | |
-----> Heroku receiving push | |
-----> Ruby app detected | |
-----> Installing dependencies using Bundler version 1.1 | |
Checking for unresolved dependencies. | |
Unresolved dependencies detected. | |
Running: bundle install --without development:test --path vendor/bundle --deployment | |
Fetching source index for http://rubygems.org/ | |
Installing daemons (1.1.3) | |
Installing eventmachine (0.12.10) with native extensions | |
Installing rack (1.2.2) | |
Installing tilt (1.3) | |
Installing sinatra (1.1.0) | |
Installing thin (1.2.7) with native extensions | |
Using bundler (1.1) | |
Your bundle is complete! It was installed into ./vendor/bundle | |
-----> Discovering process types | |
Procfile declares types -> web | |
Default types for Ruby -> console, rake | |
-----> Compiled slug size is 6.3MB | |
-----> Launching... done, v4 | |
http://blazing-galaxy-997.herokuapp.com deployed to Heroku | |
To git@heroku.com:blazing-galaxy-997.git | |
* [new branch] master -> master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment