This commit is contained in:
Ayush Gupta
2012-10-09 19:00:08 +05:30
parent 4f4c8e2a3c
commit c4dfb91e7d
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ path = require 'path'
{exec} = require 'child_process'
handlebars = require 'handlebars'
hb = "node_modules/handlebars/bin/handlebars"
hb = "handlebars"
sourceFiles = [
'SwaggerUi'

View File

@@ -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