English 中文(简体)
使用 git 、 capistrano 和 cakephp 进行网站剥皮的工作流程
原标题:workflow for website skinning using git and capistrano and cakephp

这个问题有两个部分。 第一个部分是, 我想从一个我编出来的编程中做一个稻草虫, 用于对大量网站进行代码版本。 我有一个主机, 包含一个 cookie cutter 网站, 以及一系列处理对每个网站视图和配置文件夹的修改的分支。 模型和控制器对每个网站都是相同的。 如果我对主机进行修改, 可以将这些修改合并到每个分支。 这听起来有点倒过来了。 我打算用卡比斯特拉诺来部署网站, 并且可能拿出一个通过每个网站运行的脚本, 并将主机合并到分支中, 不确定。 每个网站都有自己的部署脚本, 并指向特定的分支或网站 。 我还没有进入部署脚本的精细点, 不过在我开始之前, 我想看看我的工作流程是否可行 。 另外, 如果以上是好的, 如果我把控制器放在一个分支上, 我就会想是否合并做恶梦 。

如果其他人有不同的做法,我很乐意听到。

最佳回答

我会读到有关""git 分支哲学 直接由 Git 维护者撰写。

对我来说,这听起来是个好主意。根据我的理解,如果分支site-1的目的是“客户1的网站1,确切地说客户1想要它”,那么如果客户1想要/需要你对分支site-template所作的修改,那么,如果编成一个可以将这些修改推到所有单个网站的脚本,则会很好。

问题回答

暂无回答




相关问题
git confusion - cloning a repo is returning a past version

Im having some confusion with my git usage. I cloned a repo from one comp to the other, and the new clone is the state of the original that was active some time ago. So its cloning a past version. ...

Appropriate strategy for tagging and hotfixing with git

I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...

热门标签