diff --git a/Cakefile b/Cakefile index 89f115d1..7842973a 100644 --- a/Cakefile +++ b/Cakefile @@ -3,7 +3,7 @@ path = require 'path' {exec} = require 'child_process' handlebars = require 'handlebars' -hb = "node_modules/handlebars/bin/handlebars" +hb = "handlebars" sourceFiles = [ 'SwaggerUi' diff --git a/README.md b/README.md index 5eeeddc5..2a90151e 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ unpack and start using it. If you like swagger-ui as-is, stop here. You can rebuild swagger-ui on your own to tweak it or just so you can say you did. To do so, follow these steps: 1. Install [CoffeeScript](http://coffeescript.org/#installation) which will give you [cake](http://coffeescript.org/#cake) -2. Install handlebars using 'npm install handlebars -g' +2. Install [handlebars](http://handlebarsjs.com/) using 'npm install handlebars -g' 3. Run cake dist 4. You should see the distribution under the dist folder. Open ./dist/index.html to launch Swagger UI in a browser