TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Manage multiple Heroku environments w/ Katana

16 点作者 akane超过 14 年前

2 条评论

nborgo超过 14 年前
Might I suggest "herogit"? You can keep doing "heroku &#60;command&#62;" like normal – it just treats different branches as different apps, which I quite like. They put it in the last newsletter.<p>For example, I have a "staging" branch for my staging app and use the "master" branch for production. When I checkout the staging branch, the heroku gem switches everything to the staging app. Checkout the master branch and it switches to my production app.<p>(A little gotcha: I have to use "git push &#60;repo&#62; staging:master" to deploy the staging branch)<p>I've never tried the Katana gem, though, so I have no idea if it's better or worse.<p><a href="https://github.com/jbarnette/herogit" rel="nofollow">https://github.com/jbarnette/herogit</a>
评论 #2110698 未加载
railsjedi超过 14 年前
Also check out <a href="http://github.com/railsjedi/heroku-rails" rel="nofollow">http://github.com/railsjedi/heroku-rails</a><p>Does something similar, and has a nice YML configuration for each of your environments.