Created
June 25, 2015 00:16
-
-
Save fredym/a1c560e6c3ddb210e36c to your computer and use it in GitHub Desktop.
Vagrant file for jekyll
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$provision_script = <<SCRIPT | |
echo Installing gcc... | |
yum -y install gcc | |
echo Installing Ruby... | |
yum -y install ruby ruby-devel | |
echo Installing nodejs... | |
yum -y install nodejs | |
echo Installing jekyll... | |
gem install jekyll | |
echo Done provisioning. | |
SCRIPT | |
Vagrant.configure(2) do |config| | |
config.vm.box = "chef/fedora-21" | |
config.vm.provision "shell", inline: $provision_script | |
config.vm.network "forwarded_port", guest: 4000, host: 4000 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment