ghost with heroku
wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh
heroku login
sign in ghost.org download source code and
wget https://ghost.org/zip/ghost-0.3.3.zip && unzip ghost-0.3.3.zip -d ghost
Install Node Either download the .tar.gz archive from http://nodejs.org, or you may prefer to follow the instructions on how to install from a package manager instead. Double check that you have Node and npm installed by typing node -v and npm -v into a terminal window
sudo apt-get update
sudo apt-get install python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
npm install
npm start
$ git init
$ git add .
$ git commit -m "init"
$ heroku create
$ git push heroku master
prefer to http://ruby-china.org/topics/10813
ssh -v [email protected] # choose one you can use
# ~/.ssh/config
Host heroku.com
User freemember007
Hostname 107.21.95.3
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
port 22
heroku keys:add ~/.ssh/id_rsa.pub