I
I
Ilya2019-02-04 13:38:40
1C-Bitrix
Ilya, 2019-02-04 13:38:40

How to set up a test server?

There is an online store site on Bitrix. The development was carried out by one or two people, right on the production server. Used git. It is planned to hire several more developers.
I thought about making a test server so that the developers would work with local copies, and then test the developments on the test server and only then upload it to the production server.
It seems that everything is simple, make a copy of the site on a test server and test the developments there.
Problem with static files (upload folder in Bitrix). Now it weighs 50 GB, there will be even more.
The question is, do I need to duplicate it every time on a test server? if not, what is the best way to do it?
The same question applies to local developer copies.
When I worked with a local copy, I used sshfs, mounted the upload folder in readonly mode directly from the production server. But I can't give everyone an ssh account for this. And in general it seems that this solution is not very good.
And in general, in general, can there be any advice on organizing development with a test server, etc.?
Thank you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander, 2019-02-04
@alexr64

It seems that everything is simple, make a copy of the site on a test server and test the developments there.
Problem with static files (upload folder in Bitrix). Now it weighs 50 GB, there will be even more.

It seems that everything is simple: raise a minimal copy of the site to a test server and test developments there. Including with its own database, filled exactly as much as required by the full testing of the functionality.

H
hack504, 2019-02-04
@hack504

It is planned to hire several more developers.

This needs to be agreed with the developers themselves. More precisely, set them the task of organizing a test server.

Y
Yuri Samoilov, 2019-02-04
@takezi

docker? :) mount the static to the container

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question