From 4de2dd31f0962e924724a9182c816e91b5a82ceb Mon Sep 17 00:00:00 2001 From: Sam Handler Date: Fri, 9 Oct 2015 18:29:08 -0400 Subject: [PATCH] Add makefile and update readme --- website/Makefile | 10 ++++++++++ website/README.md | 7 +------ 2 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 website/Makefile diff --git a/website/Makefile b/website/Makefile new file mode 100644 index 0000000000..e1c782e070 --- /dev/null +++ b/website/Makefile @@ -0,0 +1,10 @@ +all: build + +init: + bundle + +dev: init + bundle exec middleman server + +build: init + bundle exec middleman build diff --git a/website/README.md b/website/README.md index 67fbaa54d8..ee619d9dc2 100644 --- a/website/README.md +++ b/website/README.md @@ -11,12 +11,7 @@ If you find a typo or you feel like you can improve the HTML, CSS, or JavaScript Running the Site Locally ------------------------ -Running the site locally is simple. Clone this repo and run the following commands: - -``` -$ bundle -$ bundle exec middleman server -``` +Running the site locally is simple. Clone this repo and run `make dev`. Then open up `localhost:4567`. Note that some URLs you may need to append ".html" to make them work (in the navigation and such).