Vagrant Up! - HearthStats/hearthstats GitHub Wiki

THE BOX IS NO LONGER AVAILABLE!

We recently added Vagrant support, here's a quick walk through on how to get started.

Installing Vagrant

  1. Find the download for Vagrant here.
  2. Make sure you also install VirtualBox. On Ubuntu a simple sudo apt-get install virtualbox command will work, if not here is the download page.

Getting into our Virtual Machine

  1. Clone the Hearthstats repository. Make sure you grab the actual repository here and not the clone link to the right (that's just for the wiki). If you really want to get creative, fork your own version of Hearthstats and clone that one!
  2. cd into the repository and type vagrant up .
  3. ssh into the Virtual Machine by typing vagrant ssh.
  4. cd into /vagrant once you are ssh'd in. To find this directory, make sure you drop all the way down to root and cd /vagrant.

Setup Rails

  1. If you are prompted to install ruby - follow the prompt's instructions and do so accordingly.
  2. cd into /vagrant then type gem install bundler
  3. Next type in bundle.
  4. rake db:create db:migrate db:seed.

Done!

To learn more about Vagrant, check out their documentation