In team 2, developers with weak computers (locally razvarachivat site does not work very slow). Both work on the site via sftp with different files. I want to simplify development

now my process is organized in this way. there is a local copy of the site, files that are synchronized by the Brackets editor via sftp. brackets plugin

I edit the file, it automatically flies to the site, I commit the commit directly from the same editor in 2 clicks

enter image description here

but ran into problems:

  1. when the second developer changes files on the server, he does not change locally with me
  2. when I make a commit locally, it is not done on the server, because of this you have to push to the repository and then pull the server, but check out all the files on the server (not very convenient)
  3. doing push from the server is also not convenient, as you have to enter your login and password in Putty

An ideal option for me would be to push, pool and commit directly from the server, using some kind of visual environment, for example, the same Git-Brackets, or git gui. It’s not very convenient to use the bash panel

Kindly share your advice, how do you work?

  • one
    We work in the right way: we do not edit the files on a live server, but use the local development machines as a dev-environment. What we sincerely want: to find a normal office, where management understands that developers need normal machines, where a more competent workflow is built, and not using antediluvian technologies from the past century. Less learning kostylostreniya - more time to improve skills. - AK

1 answer 1

I would advise you to configure the rsync + lsyncd daemon and not bind to the IDE. You need to configure it in such a way that your local root directory of the project is synchronized with the server. Here is approximately what I mean