Have the following configuration:
1. In the folder /mysite on the local computer;
2. In the folder test.example.com - on the server (VPS)
3. In the next folder "battle" website exampe.com
On test.example.com the project merges from a turnip.
Deployment test.example.com on example.com yet - about this issue.
How best to do — just copying the folder or using turnips (does it make sense to use another turnip )?
test.example.com works with "combat" database, it gives you the opportunity to actually test the changes made on the locale and flushed through the turnips on a test site.
But here is the problem: for example, the images uploaded via the test server, loaded it in the same folder (relative paths), respectively. "battle" they are not shown. It says that a folder of images need to copy handles. Or the entire test site to drain additional turnip, and turnip from deploy folder example.com "fighting", has already collected the website? What you should do, advise you, my friends?
I understand that the overlap of two interests: the first work on the code/design of the website and updating it, the second is the ability to use new functionality test of the site to download materials to the server, and then updating the code/design (i.e. for the end-user is immediately shown new features and content). And it looks like the ears are sticking out at the intersection of these interests. How to correct the situation?
If you want to keep test and prod combat data:
1. Folders with downloadable content replaced by symlinks into a shared repository. Then they will be available everywhere.
2. "combat" version of the lay of the Gita of course. Write a small script which does everything - it updates the sources, dependencies(composer/pip what you have there) and rolls of migration. Well, or use any software for deployment.
3. On a test version, it will be convenient to make bytovikam changes with each commit. Use WebGUI for this.