forked from opensas/play-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
Step 13 deploy to heroku
opensas edited this page Sep 20, 2011
·
21 revisions
Purpose: in this step we will see how to deploy you app to heorku's cloud computing platform.
cd ~/devel/apps
git clone git@github.com:opensas/play-demo.git
git checkout origin/13-deploy_to_heroku
Creating an account at heroku is really easy. Go to Heroku homepage and click on signup to create a new account and then enter a valid email address.
follow these instructions to add heroku tools on linux.
On ubuntu, execute the following command to add heroku's repository
sudo apt-add-repository 'deb http://toolbelt.herokuapp.com/ubuntu ./'
curl http://toolbelt.herokuapp.com/apt/release.key | sudo apt-key add -
sudo apt-get update
sudo apt-get install heroku-toolbelt
You might have to install curl first
sudo apt-get install curl
Now check that the client was successfully installed
~$ heroku version
heroku-gem/2.8.0
~$ heroku update
-----> Updating to latest client... done
At the command line, issue the following commands
sas@sas-box:~$ heroku login
Enter your Heroku credentials.
Email: open@gmail.com
Password:
If you don't have any private/public key in ~/.ssh, it will create a new pair of keys
Could not find an existing public key. Would you like to generate one? [Yn] Y Generating new SSH public key. Uploading ssh public key /home/sas/.ssh/id_rsa.pub
## More info at
http://devcenter.heroku.com/articles/play
http://toolbelt.herokuapp.com/linux/readme
***
Now we are going to [[Step 14 - deploy to gae]].