Answer the question
In order to leave comments, you need to log in
Two versions of the site. The first is for the user, the second is for developers. Is it possible?
Good afternoon.
I would like to clarify with Git experts. Is it possible to create two versions of the site? The current version is user's, i.e. files are taken from the stable version for users, the user visits the site.ru link and everything works for him. Development version - for developers, so that they can develop, test and debug the site by following the same site.ru link, but with the is_developer flag, the site files are loaded from the new version, which has not yet been accepted for other users.
This approach is necessary for developers, testers and other "privileged" users.
Is it possible? If not git, then there may be other similar systems or even dig in a different direction.
Answer the question
In order to leave comments, you need to log in
Usually they raise a dev version on a separate domain without crutches like tricky flags. The dev version is hidden from search engines, the database is used stripped down without sensitive data just in case. The dev version, of course, is in a separate git branch. And there are probably a thousand ways to deploy this goodness to servers.
two branches develop and master, two sites working and development => gitflow
Somewhat strange approach.
Why would developers go to the same link - and see a different site? And if they still want to compare what they have done now with what is spinning on the market?
And base under a site - the general, whether that? This way you are guaranteed fun when developers and testers go wrong across all user data.
The privileged user of the site - that's another story, the admin really needs to work with the combat site, but what does development have to do with it?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question