Created
March 4, 2015 15:31
-
-
Save hirolog/704fa489fab2892a1ead to your computer and use it in GitHub Desktop.
MacOS XでVagrantにCentOS入れ、Railsアプリ制作、Heroku公開 vol.07 ref: http://qiita.com/hirolog/items/eefda94756f547ea08f2
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
vagrant up | |
vagrant ssh |
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
sudo wget -qO- https://toolbelt.heroku.com/install.sh | sh |
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
This script requires superuser access to install software. | |
You will be prompted for your password by sudo. | |
Add the Heroku CLI to your PATH using: | |
$ echo 'PATH="/usr/local/heroku/bin:$PATH"' >> ~/.profile |
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
echo 'PATH="/usr/local/heroku/bin:$PATH"' >> ~/.zshrc | |
source ~/.zshrc |
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 version | |
heroku-toolbelt/3.28.2 (x86_64-linux) ruby/2.1.5 | |
You have no installed plugins. |
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 login |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment