Answer the question
In order to leave comments, you need to log in
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
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.
Well, use GitHub or Bitbucket if you haven’t mastered raising the git yourself
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"?
habrahabr.ru/post/136815/ Mysql
version control - read about database migrations.
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question