https://github.com/ehealthafrica/angular-locations
logic to manage hierarchical administrative division data in our Angular apps
https://github.com/ehealthafrica/angular-locations
africa angular
Last synced: 9 months ago
JSON representation
logic to manage hierarchical administrative division data in our Angular apps
- Host: GitHub
- URL: https://github.com/ehealthafrica/angular-locations
- Owner: eHealthAfrica
- License: other
- Created: 2014-12-14T11:11:52.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-05-08T09:57:08.000Z (about 8 years ago)
- Last Synced: 2023-08-06T08:42:48.451Z (almost 3 years ago)
- Topics: africa, angular
- Language: JavaScript
- Size: 2.78 MB
- Stars: 0
- Watchers: 59
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/eHealthAfrica/angular-locations)
# eHealth.locations
To run the tests and build, run:
$ grunt
Make sure to have updated versions of your Bower dependencies,
otherwise your older versions will get into the built files. You can
update running `bower update`.
To add a new country:
* update `bower.json` to the new version of eHealthAfrica/locations containing the country.
* add the country to the `ngconstant` task of the `Gruntfile`.
* add the country to `src/services/locationsFactory.js`.
* build
* release the new version.
To release a new version:
Update the version in [the
changelog](/blob/master/CHANGELOG.md) and in `bower.json` and and add
a new tag. Don't forget to commit the build under `/dist`.