website: add makefile and update README

This commit is contained in:
Sam Handler 2015-10-13 17:50:23 -04:00
parent 1b52202482
commit 5bc18fb3a7
2 changed files with 11 additions and 7 deletions

10
website/Makefile Normal file
View File

@ -0,0 +1,10 @@
all: build
init:
bundle
dev: init
bundle exec middleman server
build: init
bundle exec middleman build

View File

@ -12,13 +12,7 @@ requests like any normal GitHub project, and we'll merge it in.
## 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 `http://localhost:4567`. Note that some URLs you may need to append
".html" to make them work (in the navigation).