A
A
Andrew2013-12-06 11:53:07
linux
Andrew, 2013-12-06 11:53:07

Which version control system to choose for web development?

Hello. Please help me to draw up the architecture of the system and choose a version control system.
We have a local dev-server (ubuntu, apache, mysql), all sites are on it. Now programmers work via FTP (don't laugh anymore) and just everyone says in which file he is making changes now.
We need to deploy a version control system for the site files and database.
SVN is not suitable for us. it does not keep the latest version of all site files, only changes. (Making a separate repository, and then commit sites using the crown is also not the best option).
GIT seems to solve all our problems, but we had problems with it. We have made a repository for a test site. We set up a connection to the repository via http (downloaded the repository via a URL likesite.dev/.git ), but we failed to push (writes is not a repository).
Perhaps there are specific version control systems to solve our problems. And what can you advise about version control for the mysql database.

Answer the question

In order to leave comments, you need to log in

7 answer(s)
A
Alexey Kiselev, 2013-12-06
@alexeykiselev

Git, and only Git!
Install Git on the server using gitolite or gitlab . The server may be different, not necessarily the one on which the sites are running.
And then the test server should take (clone) the site repositories to itself. You can do this periodically (the easiest) or by commits (you need to write a script).
Better yet, set up a CI server (for example , hudson ) and configure it to upload sites via FTP in response to commits in the Git repository.

V
Vladimir Boliev, 2013-12-06
@voff

Well, use GitHub or Bitbucket if you haven’t mastered raising the git yourself

G
gro, 2013-12-06
@gro

Of course, I will not recommend SVN, but what does it have to do with "does not keep the latest version of all site files"?

M
mardy_bum, 2013-12-06
@mardy_bum

2 letters: hg

M
Mikhail Osher, 2013-12-06
@miraage

habrahabr.ru/post/136815/ Mysql
version control - read about database migrations.

T
t0os, 2013-12-06
@t0os

All developers to create an account on Github, one of the bottom to buy the cheapest tariff plan, so that there is a private repository. And don't bother with any Gitlabs.

B
bit_rainbow, 2013-12-06
@bit_rainbow

cvs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question