Skip to content

Commit

Permalink
Updated README to include instructions for configuring JSON data file…
Browse files Browse the repository at this point in the history
… and parser
  • Loading branch information
bijanvakili committed Feb 15, 2016
1 parent d6b08ef commit 3bb2746
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,21 @@ Run the following:
(NOTE: This will implicitly run a build)

Open the following URL in your web browser: [http://localhost:8888/traverse.html](http://localhost:8888/traverse.html)

## Configuration

Edit `data/config.json` to specify how to load your graph data

{
"graphDataFile": "<yourdata.json>",
"useParser": "<parser>",
"start": {
"app": "...",
"model": "<starting model>"
}
}

Available JSON parsers are:

- `django` (from `django-extensions` `graph_models` command with `--json` option)
- `sequelize` (custom sequelize parser)

0 comments on commit 3bb2746

Please sign in to comment.