Skip to content

Commit

Permalink
Updated for DocPad 6.3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Jul 18, 2012
1 parent dbcef39 commit 9f1d2ce
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 27 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: node server.js
web: node_modules/docpad/bin/docpad-server
1 change: 0 additions & 1 deletion config.json

This file was deleted.

13 changes: 0 additions & 13 deletions docpad.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,5 @@ docpadConfig = {
next()
}


# Production Environment Settings
if process.env.PORT?
# Do not check for newer docpad versions
docpadConfig.checkVersion = false

# Run the DocPad server on the production port
docpadConfig.port = process.env.PORT

# Set a maximum cache age of one day
docpadConfig. maxAge = 86400000 # one day


# Export our DocPad Configuration
module.exports = docpadConfig
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"docpad",
"website",
"skeleton",
"html5 boiler plate",
"html5 boilerplate",
"h5bp"
],
"author": "Bevry Pty Ltd <[email protected]> (http://bevry.me)",
Expand All @@ -27,18 +27,19 @@
"url" : "http://github.com/docpad/html5-boilerplate.docpad.git"
},
"engines" : {
"node": ">=0.4.0"
"node": "0.8.x",
"npm": "1.1.x"
},
"dependencies": {
"docpad": "6.x",
"docpad-plugin-cleanurls": "2.x",
"docpad-plugin-coffee": "2.x",
"docpad-plugin-coffeescript": "2.x",
"docpad-plugin-eco": "2.x",
"docpad-plugin-less": "2.x",
"docpad-plugin-livereload": "2.x",
"docpad-plugin-markdown": "2.x",
"docpad-plugin-partials": "2.x",
"docpad-plugin-stylus": "2.x",
"docpad-plugin-text": "2.x"
},
"main": "./server.js"
"main": "node_modules/docpad/bin/docpad-server"
}
7 changes: 0 additions & 7 deletions server.js

This file was deleted.

0 comments on commit 9f1d2ce

Please sign in to comment.