[p2pu-dev] New Development Scripts
Chris Ewald
chris at p2pu.org
Wed Jul 4 13:04:59 UTC 2012
Hi Everyone,
Letting everyone know that I am working on new workflow for our system
administration. The technologies are Vagrant <http://vagrantup.com/> and
Chef <http://www.opscode.com/chef/>. Two awesome technologies that will
will take p2pu system administration into the future.
Chef is config management tool that allows for automatic provisioning of a
single server or a whole networked infrastructure. For us, we will start
with just our web server hosting lernanta. I am writing chef 'recipes' to
automatically build our lernanta server.
This gives us two huge benefits:
- We will have a fool proof way to bring back a server if it goes down.
- The server system will be in sync with specific versions of our git
lernanta - so say if we decide to switch to postgresql in the future, we
will update the chef recipes to install postgres instead of mysql and still
build the server with one command. And if you checkout old code, it will
still build the server with mysql. :-)
Combining this with vagrant will dramatically simplify our development
environment setup. Our lernanta setup wiki -
https://github.com/p2pu/lernanta/wiki/Lernanta%27s-Setup-Install - will be
replaced with 3 steps. Download virtualbox, download vagrant, >$ vagrant
up. And that's it!
This will lower the barrier of entry for new contributers. Coders will be
able to jump right into lernanta code, rather than fumble with setting up a
new ubuntu server. Awesome!
I'll have more for soon. I hope to have this done and available for
everyone to test and play with in tomorrow.
Cheers
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p2pu.org/pipermail/p2pu-dev/attachments/20120704/b8e0b1d8/attachment.html>
More information about the p2pu-dev
mailing list