Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alensiljak/docpad-demo
example for how to use docpad
https://github.com/alensiljak/docpad-demo
Last synced: about 2 months ago
JSON representation
example for how to use docpad
- Host: GitHub
- URL: https://github.com/alensiljak/docpad-demo
- Owner: alensiljak
- Created: 2013-05-09T09:08:58.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-06-22T23:35:40.000Z (over 11 years ago)
- Last Synced: 2024-04-14T14:29:37.127Z (9 months ago)
- Size: 117 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
DocPad template for a site.
This is a demo site. Example on how to use DocPad templates.# Setup DocPad #
To install docpad:
npm install -g [email protected]If upgrading, run
rm -Rf node_modules; npm installRun "npm install" to install all the required packages.
The root directory, from which to run npm, is the one containing this file.For issues with proxy, check
http://alensiljak.blogspot.co.at/2013/01/npm-proxy-configuration.html# Setup modules #
Modules are installed with "npm install" since they are listed in packages.json. They can also be installed manually:
npm install --save docpad-plugin-eco docpad-plugin-marked
npm install --save docpad-plugin-partials# Running #
To run:
docpad run
Generated files are in out/ directory.The local web site is served at
http://localhost:9778/# Additional #
Install Live Reload plugin to have browser refresh on every source update.
npm install --save docpad-plugin-livereload