Skip to content

Commit

Permalink
Update instructions for running locally (open-telemetry#114)
Browse files Browse the repository at this point in the history
* Update Makefile and README instructions

Signed-off-by: lucperkins <[email protected]>

* Add separate setup step to make commands

Signed-off-by: lucperkins <[email protected]>
  • Loading branch information
lucperkins authored Feb 12, 2020
1 parent 13328cc commit e70a656
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
serve:
setup:
npm install

serve: setup
hugo server \
--buildDrafts \
--buildFuture
Expand All @@ -12,6 +15,5 @@ production-build: get-milestones
hugo \
--minify

get-milestones:
npm install
get-milestones: setup
node -r esm ./scripts/fetchMilestones.js
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ Whenever you submit a pull request to this repo, Netlify creates a [deploy previ
### Dev Setup

#### Instructions

* Fork and clone the repository
* Install [Hugo](https://gohugo.io/getting-started/installing/#quick-install)
* Install [Hugo](https://gohugo.io/getting-started/installing/#quick-install) and [npm](https://npmjs.com)
* Run `make serve`
* Open `http://localhost:1313` to check the site
* Open `http://localhost:1313` to check the site

0 comments on commit e70a656

Please sign in to comment.