Skip to content
Cristian Douce edited this page Oct 31, 2013 · 5 revisions

In order to load fixtures to get DemocracyOS up and running, follow these steps from the project's path:

  1. Run node ./bin/dos-db load tag ./lib/fixtures/tags.json to get tags loaded.
  2. Run node ./bin/dos-db load law ./lib/fixtures/laws20131014.json to old laws loaded.
  3. Run node ./bin/dos-db load law ./lib/fixtures/laws.json to get recent laws loaded.

If you want to load your own, make sure your json files match the standard an also that the comply with the matching model at ./lib/models/<model>.js.