From 68cbfd5958c0f049e65ebdd9e7bc935cf83cc278 Mon Sep 17 00:00:00 2001 From: Chia-liang Kao Date: Sat, 28 Dec 2013 04:05:00 -0800 Subject: [PATCH 1/2] Fix CONTRIBUTING.md: docpad now on top level --- CONTRIBUTING.md | 5 ++--- server/README.md | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d8dd65c32..95c3df071 100755 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -82,6 +82,8 @@ Make sure npm does not require sudo to operate, this might cause permissions iss ```bash npm install -g docpad +docpad install eco +docpad update; docpad upgrade ``` ```bash @@ -94,10 +96,7 @@ npm install -g grunt-cli ### 4) Start Your Server -It's important to note that all server code exists inside of `/node` in the project. So all commands should be run relative to that directory. - ```bash -cd node docpad run ``` diff --git a/server/README.md b/server/README.md index 3ab71deb7..e6a1fb70c 100755 --- a/server/README.md +++ b/server/README.md @@ -4,7 +4,7 @@ This folder contains the templates used to generate the static website for Semantic UI -To create the docs yourself run +To create the docs yourself, run the commands in the top-level directory: ``` npm install -g docpad From 76854d562ab29f2df90eadd2f4803590ac8f2578 Mon Sep 17 00:00:00 2001 From: Chia-liang Kao Date: Sat, 28 Dec 2013 04:25:52 -0800 Subject: [PATCH 2/2] Note that docpad run depends on grunt build --- CONTRIBUTING.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 95c3df071..8a635ea36 100755 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -102,6 +102,8 @@ docpad run Docpad should now run an instance of semantic-ui.com locally you can access at `http://localhost:9778` +Note that some asset files might be missing until you run `grunt build` once. + ## Fixing Bugs ### Watch Script