Setting up OpenStudio-server on a local machine
I'm trying to launch OpenStudio-server on a local machine.
It seems that one can either use Vagrant or Docker (there's also AMI, but that's Amazon specific so I'm not interested). I have never used either, and they seem to overlap quite significantly. Even more confusing, apparently Vagrant can run Docker inside.
- Which one should I use? 1
- Can I use neither if I have full control of the machine I want to install it on and do not want to deploy it later? 2
1 Since I assume the answer is "it depends what you want to do", for context (see this question), I have other machines on my LAN network (Windows and Mac), on which I'd like to dispatch parametric runs.
2 I've tried running ruby bin/openstudio_meta install_gems
then ruby bin/openstudio_meta start_local --worker-number=2 --debug ~/OS-server-test/
but obviously it failed
E, [2017-04-27T00:10:58.771060 #18153] ERROR -- : Mongod returned non-zero status code `2`. Please refer to `~/OS-server-test/logs/mongod.log`.
E, [2017-04-27T00:10:58.771322 #18153] ERROR -- : File `~/OS-server-test/local_configuration.json` not found. It is possible that processes have been orphaned.
I created a new tag,
openstudio-server
Note that I have successfully installed OpenStudio-server using Docker Toolbox given the instructions here and I can indeed dispatch my runs to it. I'm still interested in finding out if Vagrant might be better, and whether I can completely forgo Vagrant/Docker approach and run stuff natively (I assume that's going to be faster, might be wrong...)