##Quick Script for Running Octopress in Vagrant##
- Install Virtual Box
- Install Vagrant
- Clone Repository
- Modify the Vagrant file so that your Octopress folder is referenced
config.vm.synced_folder "../octopress", "/home/vagrant/octopress", create: false
vagrant up
vagrant ssh
cd octopress
rake generate
rake preview
From here, you should be able to go to the browser on your host machine and navigate to http://10.0.33.36:4000 (you can change this IP address in your Vagrant file config.vm.network :private_network, ip: '10.0.33.36'
) and see your Octopress blog running. When you're done, just Ctrl + C out of the webrick task and then the vagrant ssh session -- when you are back to your host machine's terminal, type vagrant halt
.