-
Notifications
You must be signed in to change notification settings - Fork 44
Vagrant Up!
Jeffrey Tong edited this page Feb 22, 2016
·
12 revisions
We recently added Vagrant support, here's a quick walk through on how to get started.
- 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.
- 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
.
- 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