Update README.md

This commit is contained in:
Vincent Fiduccia 2014-01-14 17:28:06 -07:00
parent 721c9492c4
commit 467ba8b9f9
1 changed files with 11 additions and 3 deletions

View File

@ -5,12 +5,20 @@ An in-browser client for Go Daddy® REST API.
Integrating with your API
-------
See [HTML UI](https://github.com/godaddy/gdapi#html-ui) in the API specification.
See [HTML UI](https://github.com/godaddy/gdapi/blob/master/specification.md#html-ui) in the API specification.
Install
--------
```bash
git clone https://github.com/godaddy/gdapi-ui
cd gdapi-ui
npm install
```
Usage
--------
### Compiling the stand-alone CSS and JavaScript files
### Compiling into stand-alone CSS and JavaScript files
This will write files to ./compiled/{version}/, suitable for publishing to a CDN.
```bash
@ -39,7 +47,7 @@ app.get('/', function(req, res){
});
var assets = require('gd-assets');
var groups = assets.groups.load(__dirname+'/assets.json');
var groups = assets.groups.load('/path/to/gdapi-ui//assets.json');
assets.middleware(app, groups)
app.listen(3000);