Answer the question
In order to leave comments, you need to log in
What is the correct path for the working environment on the local machine and remote servers?
Before that, I developed sites according to a very simple scheme:
Mac + MAMP PRO + uploading everything via FTP to VPS with VestaCP - everything was fine in principle.
But at the moment this was not enough and I would like the following:
Answer the question
In order to leave comments, you need to log in
On local development: Raise 1 vagrant box and all sites in it? In principle, is it convenient enough or does each site have its own vagrant box? I have dozens of sites ..... Or somehow combine them into groups?
No, ideally, for each "site" you need to raise your own virtual machine. Otherwise, what's the point? The whole point of Vagrant is to have a separate, independent environment from other projects.
How to deploy (ideally) the same environment on the VPS and update it also automatically?
Look towards Docker . It allows you to create "images" of the system and instantly deploy them anywhere.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question