To run this site locally you should have installed:
-
IMPORTANT. When installing GIT on Windows, make sure you install with the option of making git available to the windows command line.
See also instruction for setting up Node.js environment under Mac Os and Linux.
On Windows:
- Run 'Node.js command promt' as Administrator.
- Type
npm install -g npm
and press «Enter» to update Node Package Manager. - Type
npm install -g docpad@6.63
and press «Enter» to install DocPad globally. - Close Node.js command promt, run Windows command promt (cmd) as regular user and navigate to your folder with project.
- Run
docpad update
inside your project directory to ensure that your local installations of DocPad and its plugins are updated to their latest compatible versions.
For other systems check manual at official site.
docpad run
in cmd inside your project directory to compile the site, start the webserver and watch for changes.
To preview site in browser open http://localhost:9778
Full list of commands.
src/document
— content pages
src/layout
— template of the site
src/partials
— includes used in templates
src/files
— resources
More docs at DocPad site.
Run docpad generate
inside your project directory to compile the site.
Static pages of the site will be rendered in out
directory.
In case of any problems try first to update DocPad.
IDT © 2014+ All rights reserved.