This repository has been archived by the owner on Mar 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 311
Quick Setup with Vagrant
Dana Van Aken edited this page Dec 12, 2017
·
3 revisions
This page shows how to set up a custom VM using the provided Vagrantfile. Vagrant handles the installation of dependencies and other common setup tasks. This means that the VM is ready to use once it's been initialized.
- Install Git and Vagrant (if needed).
-
Clone the OtterTune repo
git clone https://github.com/cmu-db/ottertune.git
-
Initialize the vagrant box
cd ottertune/server/website/script/installation vagrant up
-
Connect to the vagrant box
vagrant ssh
-
The different options for bringing down the VM are listed here: https://www.vagrantup.com/intro/getting-started/teardown.html
-
Now move on to the Getting Started guide
After making changes to the Vagrantfile or bootstrap.sh, the VM needs to be provisioned again for those changes to take effect.
If the VM is running:
vagrant reload --provision
Otherwise:
vagrant up --provision