On 1 March 2015 at 12:45, Paul Dragoonis <[email protected]> wrote: > On Thu, Feb 26, 2015 at 5:26 PM, Peter Cowburn <[email protected]> > wrote: >> Setting up a php.net website mirror, for development, these days is as >> simple as git clone and using the built-in web server. Playing around with >> the various generated files (e.g. those on master, that get rsync'd to >> mirrors) is a little more fuss, but not much more than cloning master, >> running the scripts and cp-ing to your web clone. >> > > Can you elaborate on this? There needs to be a .php script on master, which > creates a .json file which is rsynced to mirrors. I need to get this .php > script in the repo somehow. > >> >> That said, it would be nice to have a VM or something (I've been thinking >> about this for the docs) to download and magically have a development env >> all set up. >> > > It would be worth while investment of our (the web team's time) i'm sure! > It would make the contribution barrier lower.
I've uploaded my Vagrant file and update script to a Gist: https://gist.github.com/LawnGnome/d8638f036d55c3cd50a3. They're not 100% ready to go as is — the update.sh script should be more integrated (and the rsync commands should probably run in a cron job in the VM) and does some things that only matter if you're also linking docs builds into manual/en as I am, but if someone wanted to polish them up they might be a useful starting point. Adam -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
