How to use this box with Vagrant:
Vagrant.configure("2") do |config|
config.vm.box = "clwdev/precip"
config.vm.box_version = "1.0.0"
end
vagrant init clwdev/precip \
--box-version 1.0.0
vagrant up
This version was created almost 8 years ago.
Precip 1.0.0 brings massive performance improvements, a few key bugfixes, and a few feature improvements we've had back-burnered for awhile.
We've done everything we can think of at this time to squeeze as much performance as possible out of Precip. Here are some perf comparisons between where we were a week ago, and where we are today:
How'd we do all this?
vagrant-persistent-storage Vagrant Plugin. This means MySQL is now effectively running like a native disk inside the VM and is just about as performant as we can possibly make it from a virtualized hardware perspective. Caveat: MySQL Storage is now capped to 32GB, though we could make this configurable.In all this testing we found a couple small but important things that needed fixing. Some of these fixes conveniently and accidentally paved the way for features.
sites directory tree as vagrant:www-data, and mount it 775, which allows both the vagrant and apache users to do stuff to the docroots.Finally, we also went back and implemented some pet features we've had kicking around as ideas.
/log, but now they're also being mounted and managed in such a way that PML can access them./etc/hosts? You can now configure those in config.rb so Precip can be aware of something like an external Solr server, or an API on another VM somewhere.Thanks to the fixes to how we're mounting the sites directory and upgrades available in Drush 7.x, we can now support Drush Aliases that interact with Vagrant like it's a true remote alias. These new @vmi aliases are being created alongside your @vm aliases and get installed via install_aliases.sh.
When you use any of these new @vmi aliases the following happens:
/srv/www/site pathIn practice we’ve found @vmi aliases to be a bit slower compared to @vm, but they have the important bonus of not being based on a kludgy mess of hacks. The plan will be to eventually replace the @vm aliases with @vmi and drop all related messy hackery (like local-settings.inc) at that point, but for now they’re an experimental extra. Please try using them and report back.