---
title: "Heroku部署记录下"
author: "darklipeng"
date: "2010-12-02T11:33:36Z"
tags: ["Git", "Rails", "Ruby", "应用服务器", "敏捷开发"]
categories: ["编程语言"]
slug: "heroku"
draft: false
lastmod: "2010-12-02T11:33:36Z"
id: 831306
url: "https://darklipeng.iteye.com/blog/831306"
---

最近看了应用rails进行敏捷web开发第三版和镐头书，就想找个什么练练手。网上照了照说Heroku这个网站专门提供rails服务器，就照着http://ilgnep.iteye.com/blog/695353做了，又是注册又是下载又是安装什么的，连git都是现学现卖，跟打木人巷一样，结果程序是部署上去了，但点开链接显示：

App crashed

This application is temporarily offline.

If you're the administrator of this app, please check your heroku logs for the backtrace.

郁闷啊，误打误撞输入heroku help,结果显示example的步骤，试了一下可行

 

```
rails myapp
cd myapp
git init
git add .
git commit -m "my new app"
heroku create
git push heroku master
```

 脚手架也没试，不知道heroku对数据库方面的支持需要什么步骤之类，效果就是这个：

http://sharp-water-42.heroku.com/