-
Notifications
You must be signed in to change notification settings - Fork 616
Load fixtures
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:
- Run
node ./bin/dos-db load tag ./lib/fixtures/tags.json
to get tags loaded. - Run
node ./bin/dos-db load law ./lib/fixtures/laws20131014.json
to old laws loaded. - 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
.
Visit our official website - Developed by Democracia en Red and contributors from the world over!