D
D
Denis2020-01-15 17:34:18
1C-Bitrix
Denis, 2020-01-15 17:34:18

Working on Bitrix using gitlab repository?

Guys, how to do it right, for example, we start together - three of us (it doesn’t matter) to make a site on Bitrix. One of us deployed Bitrix with a clean installation on a local, for example, in an open server. I started to stretch the layout, worked, then uploaded everything to the gitlab. But the bitrix folder and other system ones are in gitignor, we are developing templates in local. How should other developers be? They clone the repository, but they don't have the kernel with the necessary settings? How do they do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
Julia Bedrosova, 2020-01-15
@Bedrosova

They use jenkins.io - there you can configure absolutely anything you want and how you like - any actions that developers would do with their hands can be transferred to jobs: they set up jobs so that, for example, when committing to the master branch, unit tests run , then this commit was uploaded to the dev sites, the base backup was taken from the combat site, deployed on the dev sites.
You can even do a full installation of fresh Bitrix on jobs, including creating a new virtual host, then uploading your locale from the repository there and running tests.

A
Alexey, 2020-01-16
@AlexeyCaTHaR

We in the company create test sites by deploying from the built-in backup. We put only the code and migrations in the turnip. Actually content and settings can be rolled through migrations.
You can use CI, as in the comment above, but the process of transferring settings will remain the same. Or a clone of a DB or migrations that IMHO is more preferable

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question