Hi. In a thread in the ModX 101 forum I raised a thread "Change process for ModX web builders?" asking
Quote from: Byzantium at Jun 20, 2010, 09:08 AM
I am used to working in a simple change process (solo developer) where I have
local webdev directory with what is being worked on
which then gets tried on a
local testing server directory (Apache) for testing
and, if it’s OK gets copied (ftp’d) from the local webdev directory to
the live server
(where of course it promply falls apart...) - but ignoring that last bit:
Clearly if I am enabling the end user to update their content on the live server, albeit in a controlled and restricted way, then I am losing control over that process.
Notably, the only place where a known valid and current copy of the website exists is on the server (assuming it is valid and hasn’t gone wobbly).
Is there any utility for managing this?
I mean something that would enable you to have your local copy of the modxified website, a connection to the remote (live) one, and allow you, for example to:
read a chunk from your local db and write it to the remote one?
or synch local and remote db (and files) based on timestamps
..or am I misunderstanding something about the right way of working with this?
Well provisioner certainly seems to offer most of what I am looking for, but I am a bit confused from reading the documentation on it (UserGuide.odt) - primarily by terminology regarding local and remote sites.
The doc states
The Provisioner component is intended to allow provisioning of a MODx Revolution installation from an existing, remote MODx Revolution or MODx Evolution installation.
and
It should be noted that it does not allow a site to be ’ripped’ of its content, the user has to log into the remote site as a manager user that has at least the level of privilege needed to perform the operations needed, i.e. view elements, users etc. Also it operates as a read only viewer, no content in the remote site is changeable using this component.
Now, to me, my local site is the site on my laptop, and the remote site is the ’live’ site that I want to ’provision’ from it (to use your terminology) - but, according to the above I can’t because the remote site is ’read only’. So - do I think about it the other way round? If I do I can work within the manager on the live site, treating it as local and my laptop (that I am sitting in front of) as remote, but then, within provisioner I have to enter the url for my remote site (my laptop) - and I don’t have it set up for access from the internet (and don’t want to).
Maybe I’m just misreading or misunderstanding the documentation but I would appreciate if someone could enlighten my darkness!
Also - I don’t understand why you would want the remote site to be read only. Assuming that you are validly logged on at both the local site and the remote site and have the appropriate access permissions, surely it would make sense to be able to push or pull from one to the other, and to have indication of which is the most recent, from timestamps, and ideally the ability to synchronise (push & pull) based on those timestamps?
I’m still a relative newbie, and maybe I have misunderstood what provisioner is for, but, like I say, lighten my darkness!
Thanks!