Hi Hannes, while setting up arches, I found it easiest and cleanest to just reinstall the package each time I made a change to the authority documents or resource graphs. (Quick tip, the ELIGIBILITY_REQUIREMENTS hip authority doc is huge, so if you cut that down right away is reduces the package install time significantly.) Eventually, once I'd made final rewrites of the authority docs, I expect the users to add concepts through the RDM, but during development it made the most sense to keep everything clean and replicable. In other words, I just made permanent changes to the authority documents and graph files and then reinstalled everything. This is all before any data is in the database, of course, because reinstalling the package will erase any resources that you have entered or loaded.
Just make sure that the correct RESOURCE_GRAPH_LOCATIONS and CONCEPT_SCHEME_LOCATIONS paths are defined in the settings.py file in your app. That way, the reference data will always be set from the authority docs and graph files whenever you reinstall the package. That said, the only thing I'd say about the load command is that maybe you don't have the virtual environment activated? Otherwise it looks good to me... On Tuesday, June 2, 2015 at 11:57:05 AM UTC-5, H Pirker wrote: > > Dear Developers and Co-users of arches. > > according to the Documentation in > http://arches3.readthedocs.org/en/latest/arches-data/#reference-data-graph > > .csv Authority files can be loaded into arches by using the following > command: > > python manage.py packages -o load_concept_scheme --source '{PATH TO > AUTHORITY FILES}' > > But all I get is: > > Unknown command: '-o' > > Could anyone point out what the correct command / procedure would be? > > Thanks a lot > > > Hannes > > > [BACKGROUND] > > Finally I succeeded in installing Arches3 on an oldish Centos 6 ("not > supposed to be fun"), but we are still at the very start in our efforts to > employ it as our database for archeological sites. > We experimented a bit with adding a few concepts using the RDM, but > basically we do have a blank arches-hip right now. > > Adding Reference data would be the very next step for us. > > I wanted to test the procedure by loading the activating / loading the > sample authority-files provided at: > > > ./ENV/lib/python2.7/site-packages/arches_hip/source_data/sample_data/concepts/sample_authority_files/ > > So I copied these into my own arches-hip instance and tried to 'manage.py > packages -o load_concept_scheme' it. > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
