requires vagrant and virtual box (on ubuntu sudo apt-get install -y virutalbox
and sudo apt-get install -y vagrant
)
- clone/pull this repo
cd /path/to/repo
vagrant up
to build VMvagrant ssh
to access VMbash /vagrant/vagrant_setup.sh
to prepare environment (will be automated via vagrant up command eventually)- run analysis / do any other work in VM
- use CTRL-D or exit in vagrant terminal to exit (same as any other shell)
vagrant destroy
to kill the VM
If you are using the latest versions of geoML, CausualForest, and any other referenced repos:
- run analysis
- push results of analysis to your project's github repo (optional)
- update
vagrant_setup.sh
by uncommenting the appropriategit checkout
lines and update the hash to the current commits of each repo (geoML, CausalForest, etc.) - push changes to your project's github repo
- create new release via github for your project's repo
the code which includes the vagrant box VM setup for this release can now be downloaded later and will pull the specific versions any other repos used to run the script, and use the current set of scripts/data for your project