Locabulary
An extraction of limited localized vocabulary for Sipity and CurateND. This controlled vocabulary has a limited shelf-life as we explore other more robust options.
Getting Started
See the Locublary module in lib/locabulary for the public methods of this gem.
Testing
The full test suite is run via bundle exec rake
.
If you are interested in running each file in isolation - a good thing for unit tests - use ./bin/rspec_isolated
.
Updating Data Files
The "administrative_units" data is maintained in a Google Spreadsheet. To synchronize the JSON data:
- Ensure that you have a copy of the
config/client_secret.yml
from the staging secrets - Make sure you have a clean working tree (eg.
git status
shows no changes) - Run
bundle exec ./script/update_data_files.sh
script following its instructions - Review changes to the
data/administrative_units.json
file (eg.git diff
) - Commit changes
Once committed and pushed upstream, to see the changes will require a deploy of the applications.