Y
Y
Yuri Firs2012-05-20 11:58:32
PHP
Yuri Firs, 2012-05-20 11:58:32

Team development, php, git, redmine, sandbox

Interested in how to organize team development in PHP. So that everyone has their own sandbox, it was possible to quickly merge everything and work without problems with git + redmine (possibly another system).
Now we work like this:
- everyone has a locale + git branch
- all tasks are in redmine + gitosis
- we deploy everything manually and insist on a test server.
I would like more automation. So that everyone, for example, has their own test server - devname.sendbox.site.ru
So that it all works correctly with git.
If this is real - advise what to use.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
denver, 2012-05-20
@denver

We use phing (for installing after checkout, running tests), Jenkins for per-commit checkout (a bunch of plugins) and running phing install test and sending a file by mail (to everyone or to yourself, it depends). There can be as many configurations (testsites) in jenkins to send to a specific one, I think you need to push to different remote turnips (for tests) and to a single central one (after tests), on which your jenkins can also run.
Automatically after your tests, pushing to the central one is already a utopia IMHO (does someone know the solution? at least there will be a bunch of extra merge commits, and sometimes conflicts)

A
AndrewStephanoff, 2012-05-21
@AndrewStephanoff

For the development server (devname.sendbox.site.ru), I use the reverse-proxy scheme: the main apache2 serves virtual hosts and proxies all requests like project.developer.dev.example.com to the second apache2, which resolves the project.developer.dev host .example.com to /home/developer/vhosts/project.htdocs.
This scheme allows you to use several versions of php5 (just build them, make new startup scripts and add rules) and allows you to create new hosts without restarting apache2.
For deployment to qa, we have a Jenkins job configured.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question