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
- Find the download for Vagrant here.
- 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
- 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!
- cd into the repository and type
vagrant up
. - ssh into the Virtual Machine by typing
vagrant ssh
. - 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
- If you are prompted to install ruby - follow the prompt's instructions and do so accordingly.
- cd into
/vagrant
then typegem install bundler
- Next type in
bundle
. rake db:create db:migrate db:seed
.
Done!
To learn more about Vagrant, check out their documentation