This is a big commit, and I apologize in advance for the future
git-blames all pointing to me. This commit does a few things:
1. Merges the website/docs and website/www repo into a single website repo
to be in line with other HashiCorp projects
2. Updates to use middleman-hashicorp
3. Converts less to scss to be in line with other projects
4. Updates page styles to be in line with other projects
5. Optimizes images
6. Prepare for S3 + Fastly deployment with scripts, etc.
7. Removes blog posts (they have been transferred to hashicorp.com with
redirects in place
8. Updated sitemap generation script for better SEO
9. Fixed many broken links
10. Add description to all fields
21 lines
741 B
Ruby
21 lines
741 B
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
$script = <<SCRIPT
|
|
sudo apt-get -y update
|
|
sudo apt-get -y install curl
|
|
sudo su -l -c 'gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3' vagrant
|
|
sudo su -l -c 'curl -L https://get.rvm.io | bash -s stable --auto-dotfiles' vagrant
|
|
sudo su -l -c 'rvm install 2.2.2' vagrant
|
|
sudo su -l -c 'rvm --default use 2.2.2' vagrant
|
|
sudo su -l -c 'gem install bundler' vagrant
|
|
sudo su -l -c 'cd /vagrant && bundle install --jobs 2' vagrant
|
|
SCRIPT
|
|
|
|
Vagrant.configure(2) do |config|
|
|
config.vm.box = "hashicorp/precise64"
|
|
config.vm.network "private_network", ip: "33.33.33.10"
|
|
config.vm.provision "shell", inline: $script, privileged: false
|
|
config.vm.synced_folder ".", "/vagrant", type: "rsync"
|
|
end
|