Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use deployment tools to install a test server on localhost? #403
This would be a nice way to handle the quirks and complexities of our system, but so far it's pretty tricky on systems other than the expected Debian GNU/Linux.
In our scripts, we've made lots of assumptions about things like home directories. So installing on another system like OS X will necessarily involve some kind of privileged "preflight" script to enable services, create users and directories, etc. There are probably other obstacles ahead.
Perhaps the real answer is to use a local VM (VirtualBox, Parallels, VMWare, etc) with a minimal Debian. Or a prepared VM (
added a commit
Aug 6, 2014
Or maybe docker.
-- apologies for brevity / using handheld gizmo --
On Aug 5, 2014, at 22:18, Jim Allman firstname.lastname@example.org wrote:
This would be a nice way to handle the quirks and complexities of our
In our scripts, we've made lots of assumptions about things like home
Perhaps the real answer is to use a local VM (VirtualBox, Parallels,
I don't think that incrementally enhancing the deployment system is
Why do you want to use a local VM? It is very easy to set up new EC2
On Tue, Aug 5, 2014 at 10:18 PM, Jim Allman email@example.com
So it would be great to have a more "lightweight" option for getting up and running. Agreed that docker or a pre-built appliance could work well for these use cases, if it's easy to push and test changes.
I'll hold off on any work here for now, since (as you point out) the deployment system is still kind of in flux.
@jar398, @kcranston, @temi : I spent most of this weekend tinkering with a fork of @temi 's Ansible deployment repo. I cleaned up some problems with the Ansible playbook (i.e., task and role definitions) and learned enough about Ansible to confirm that it can handle all the complications (virtualenv, etc) we would throw at it.
I'm setting this aside for now, but we might want to revisit this and come up with a series of playbooks to handle use cases like routine deployment, code review, and isolated systems for scientific exploration.
I spent some time on this over the weekend. The user name for the user
There's currently an assumption that the files are located relative to that
We're very close to being able to use the deployment system to run locally
On Mon, Sep 29, 2014 at 12:48 PM, Jim Allman firstname.lastname@example.org