diff --git a/website/Makefile b/website/Makefile new file mode 100644 index 000000000..9888cfa82 --- /dev/null +++ b/website/Makefile @@ -0,0 +1,10 @@ +all: build + +init: + bundle + +dev: init + PACKER_DISABLE_DOWNLOAD_FETCH=true PACKER_VERSION=1.0 bundle exec middleman server + +build: init + PACKER_DISABLE_DOWNLOAD_FETCH=true PACKER_VERSION=1.0 bundle exec middleman build diff --git a/website/README.md b/website/README.md index d661265d9..881362f5a 100644 --- a/website/README.md +++ b/website/README.md @@ -16,8 +16,7 @@ Running the site locally is simple. Clone this repo and run the following commands: ``` -$ bundle -$ PACKER_DISABLE_DOWNLOAD_FETCH=true PACKER_VERSION=1.0 bundle exec middleman server +make dev ``` Then open up `localhost:4567`. Note that some URLs you may need to append diff --git a/website/source/layouts/layout.erb b/website/source/layouts/layout.erb index 192b7303d..26a1dac6b 100644 --- a/website/source/layouts/layout.erb +++ b/website/source/layouts/layout.erb @@ -51,12 +51,15 @@