/octopress-vagrant

Quick vagrant file and bootstrap.sh for installing necessary components for Octopress Vagrant file.

Primary LanguageShell

##Quick Script for Running Octopress in Vagrant##

  1. Install Virtual Box
  2. Install Vagrant
  3. Clone Repository
  4. Modify the Vagrant file so that your Octopress folder is referenced config.vm.synced_folder "../octopress", "/home/vagrant/octopress", create: false
  5. vagrant up
  6. vagrant ssh
  7. cd octopress
  8. rake generate
  9. 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.