Skip to content

Instantly share code, notes, and snippets.

@huacnlee
Created September 6, 2010 03:27
安转 Ruby 和 Rubygems
$ sudo apt-get install ruby1.8 ruby1.8-dev rubygems
安装 heroku 的程序
$ sudo gem install heroku
安装 Git
$ sudo apt-get install git-core
下载 PersonLab 源代码
$ git clone git://github.com/huacnlee/personlab.git
$ cd personlab
创建 Heroku App
$ heroku create --stack bamboo-ree-1.8.7 youappname
$ git push heroku master
$ heroku rake db:migrate
$ heroku rake db:seed
提示信息里面会出现 heroku 为你创建的 App 地址,如 http://youappname.heroku.com,然后你可以在 Heroku 的后台里面为这个 App 绑定域名
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment