C
C
Cyril2017-07-30 17:51:00
git
Cyril, 2017-07-30 17:51:00

How to achieve such development with Git?

As far as everyone knows, a web developer clones a Git repository on his computer before starting to program. And only then does it change. Of course, it is assumed that he already has a web environment (web server, python, php, etc.) ready on his computer and he can test his local copy.
But is it possible to make it so that each web developer has his own folder on the development server? I want to make sure that every new web developer does not have to set up a web environment on their machine and not clone code to it.
For example, a new developer Vasya came. On the development server, he cloned the master repository folder to the same server. After each change, he can safely view the result.
Are there any off-the-shelf solutions/systems for this? Or can you do it all yourself?
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Barmunk, 2017-07-30
@Barmunk

For example, a new developer Vasya came.

And you give him a hop and a link to vagrant , in which everything is already configured for your environment.

A
Astrohas, 2017-07-30
@Astrohas

I work in office where such principle is implemented. There are pluses and minuses here.
+ No need to spend time cloning, downloading the database and raising the server. Once a day or a week, you can update the database.
+ Easier to show manager/team leader/director your changes. Bats gave a reference to the environment and everything is a paradise for testing.
- You get tired of committing pushing and merging. Plus, you need to reload the server.
- Due to the fact that everything works on a third-party server, there will be no live development. You have to code blindly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question