archesproject / arches

Arches is a web platform for creating, managing, & visualizing geospatial data. Arches was inspired by the needs of the Cultural Heritage community, particularly the widespread need of organizations to build & manage cultural heritage inventories
GNU Affero General Public License v3.0
212 stars 143 forks source link

Move initial ontologies to config? #1519

Closed azaroth42 closed 7 years ago

azaroth42 commented 7 years ago

In trying to manage the set of terms available within the system, I replaced the CIDOC ontology with a new version that includes the 6.2.2 Monetary_Amount and related terms and removed the unused CRM extensions. Assuming that we can't dynamically reload ontologies (?) I recreated the installation from scratch. During packages setup, the initial migration errors as it cannot find the extensions here:

https://github.com/archesproject/arches/blob/master/arches/app/models/migrations/0001_initial.py#L25

Could these file paths be exported to settings.py, overridable in settings_local.py? Or if there's required to be a master ontology with extensions, pick the master and then assume all other .xml files in the directory are extensions?

If there's a better way to manage this, please let me know :)

azaroth42 commented 7 years ago

Closed by #1538?

apeters commented 7 years ago

fixed by #1538