English 中文(简体)
D. 发展进程、部署、Gite Hub
原标题:Development process, deployment, GitHub

我正试图为我们的团队制定一个发展进程。

我们有3/4个不完美的开发商在我们的代码基础上工作。

我们开始使用全球投资机制,其想法是,工作不仅仅是一个活的固定点,然后是总公司。

每个人都在服务器上拥有自己的开发环境,而且我们有一个固定的环境,它应当永远成为总经理的复印件。

研发人员在当地发展,然后并入总务部门,然后将其变化推向固定服务器(

如果所有修改都得到批准,那么这些改动就应当加以复制。 我想把这 some事自动化,而不是确切地确定。 我们正在使用Gite Hub,因此我确信那里有自动部署物资。

我们只有1个现成服务器,但如果只有改变总务科的档案才能部署到现场服务器,就等于冰。

任何关于如何这样做的想法?

这种做法是否可行?

任何其他评论/警告?

负荷平衡是否有必要做这样的事情?

最佳回答

http://blog.romebuilder.com/07/448/“rel=“nofollow”

We create the master branch for production. My case is for web development.

我们确实采取了步骤

撰稿人从master/strong>上挑出来。

git checkout -b feature/featureA
git checkout -b bug/B

这样,我们就会把新法典放在释放线上。 在固定服务器中,我们使用测试分机。 因此,当任何特征想要测试时,它将与这个部门合并。

旧服务器

git checkout testing
git pull

设有处理热点的<<>release/strong>分行,每个热点将并入这个分处,然后并入主。 想法是,释放事务组在把某些承诺归为主之前,如果问题发生,它只是像指挥一样使用。

git reset --hard HEAD^

临时。

www.un.org/Depts/DGACM/index_spanish.htm 让我看到我的全面工作步骤

git checkout master # Go to Master
git checkout -b feature/New  # New branch

电子邮件来自装饰物,用于固定关键 b。

git stash 
git checkout master
git checkout -b hotfix/a

做事

git commit
git checkout release
git merge hotfix/a
git checkout master
git merge release # In case that you want to pack all ready to production

生产

git tag -d previous
git tag previous
git pull

Oops! 不工作

git checkout previous

合并的新承诺

git checkout master
git pull

继续我的工作

git checkout feature/New
git stash pop #Restore workspace
git commit
git checkout testing # ready to mix a test
git merge feature/New

www.un.org/Depts/DGACM/index_spanish.htm 准备发布

git checkout release
git merge feature/New

这是因为测试处的所有东西都准备部署。 因此,当把所有现成的特征合并到<><>>分行时,你现在可以作最后测试。

当现在一切都生产时,我们确实这样做。

git checkout testing
git merge master
git checkout release
git merge master

<>Automate script

我认为,在你实施守则之后,你可以看上<条码>.git/hooks/post-commit.sample,看看看一些文字吗? 无论如何,我从未使用过。

问题回答

暂无回答




相关问题
VS 2008 : How to publish with out DLLs?

I have developed a web application in Visual Studio 2008 and want to publish it in to the production server. I see a publish option there.But its producing files with DLL. I dont want to publish only ...

Apache: Deploying a new site to the server

I have a site currently live on a domain. I would like to switch it to a new site, that is currently in a password protected sub directory on this server. I have a "Site Maintenance in Progress" page....

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 ...

Pylons deployment questions

I m a beginner with Pylons and I ve mostly developed on my localhost using the built-in web server. I think it s time to start deployment for my personal blog, I have a Debian Lenny server with ...

Do I want Publish or Release Build in VB.net?

I wrote a little (like 40 lines little) Winforms application with VB.net in Visual Studio 2010. Now I ve released the code as a Google Code project. It s easy for a developer to get the source but I d ...

Need advice on my PHP development solution

Here is how our current php development solution is set up: Each developer work on their local machine. Each developer commit their change to a common SVN server (intranet). A commit hook upload the ...

loading from JAR files during deployment vs development

when i am loading some data into my java program, i usually use FileInputStream. however i deploy the program as a jar file and webstart, so i have to use getRessource() or getRessourceAsStream() to ...

热门标签