Skip to content

Instantly share code, notes, and snippets.



Last active Aug 29, 2015
What would you like to do?
Vagrantfile for a simple Jekyll blog
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config| = "ubuntu/trusty64" "forwarded_port", guest: 4000, host: 4000
config.vm.provider "virtualbox" do |vb|
vb.gui = false
vb.memory = "512" = "cbim"
config.vm.provision "shell", inline: <<-SHELL
sudo apt-get update
sudo apt-get install -y ruby ruby-dev make gcc nodejs npm
sudo gem install jekyll --no-rdoc --no-ri
sudo gem install github-pages --no-rdoc --no-ri
sudo apt-get install -y git-core
sudo ln -s /usr/bin/nodejs /usr/bin/node
cd /vagrant
jekyll new . --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.