Hi Lucy, sorry for the late reply on this.

There are two ways to load authority files: by setting the 
CONCEPT_SCHEME_LOCATIONS in your settings.py and then running
*python manage.py packages -o install*
This will completely reinstall your packages and replace the existing 
database, which means that any resources you've entered will be lost, and 
any changes you've made in the RDM will be lost (because those changes are 
stored in the database, not in the authority files themselves.

The other way to load authority documents is by using the command you 
listed already.  You don't actually need to have the authority files in the 
my_hip_app directory (though it would probably be good to place them 
somewhere close to it at least) because you specify the directory location 
in the command itself.  If, for example, you have them in 
C:\Projects\authority_files, your command would look like this:
*python manage.py packages -o load_concept_scheme -s 
'C:/Projects/authority_files'*
However, I believe that running that command will add all the schemes in 
your authority documents to the database, and not overwrite any existing 
ones that match.  I don't there is a way to "unload" existing concepts, so 
if you try this repeatedly you will end up with duplicate concepts.

Personally, I recommend making substantial changes to the authority 
documents themselves prior to the installation.  That way you can reinstall 
the package as much as you need (because editing graphs require a 
reinstall) without losing any information.

Hope that helps!
Adam
 

On Wednesday, November 4, 2015 at 11:32:49 AM UTC-6, Lucy FJ wrote:
>
> Hi Adam,
>
> Thank you once again for your very helpful input. 
>
> The documentation was very helpful in explaining how to create our own 
> customized authority files using a text editor but I have just a couple 
> more questions on loading our own customized files. Do you place the 
> customized authority files in the custom database, currently called 
> 'my-hip-app' and then run the following command to load them: 
>
> $ python manage.py packages -o load_concept_scheme -s 'path to authority 
> files directory' 
>
> We will only be using a very few authority files for the first phase of 
> our project. Will Arches work with just a few authority files, or do we 
> need to load 'dummy' ones? So far we have been using the full set of sample 
> files so haven't tried this out. 
>
> Thank you very much,
> Lucy
>
> Lucy Fletcher-Jones 
> Egypt Database Project
> TMP Room 2181, HUSS Building AUC New Campus
> Tel: 02 2615 1760
> Mobile: 010 1633 8367
>
>
> On Tue, Nov 3, 2015 at 1:43 AM, Adam Cox <[email protected]> wrote:
>
>> Hi Lucy, hopefully this information will address your questions.
>>
>> 1. The authority files are actually only used during the package install 
>> process.  Once you have installed the package, any changes you make in the 
>> RDM are not reflected in the files themselves, but are contained in your 
>> database.  You can export the schema that you've created to a skos file, 
>> but I don't know of a way to retro-actively create authority files (i.e. 
>> based on changes that have been made through the RDM.  As I mentioned in 
>> this considerations document 
>> <http://archesproject.org/implementation-considerations/>, personally I 
>> recommend making all of the changes to the authority files before the 
>> package install, because then you can reinstall without any trouble.
>>
>> 2. You'll need to modify the forms themselves, which has come up here 
>> <https://groups.google.com/forum/#!searchin/archesproject/forms/archesproject/_YyRG8wFUGs/EhXHFmB6w28J>and
>>  
>> here 
>> <https://groups.google.com/forum/#!searchin/archesproject/hannes/archesproject/aQEYrTFaJsA/qV1IfKzsobkJ>(and
>>  
>> perhaps elsewhere) on the forum already.  It's a bit of an involved 
>> process, so it would be best to get help from someone with good javascript 
>> and html skills.
>>
>> Adam
>>
>> On Wednesday, October 28, 2015 at 7:40:46 AM UTC-5, Lucy FJ wrote:
>>>
>>> Hello all,
>>>
>>> I have two unrelated questions: 
>>>
>>> 1. I have modified several authority files through the Reference Data 
>>> Manager and would like to see these modified versions in the database but 
>>> we cannot find them. Where do they reside? 
>>>
>>> 2. There are many input fields (boxes) on the input forms that we do not 
>>> need but they appear to be mandatory. We have loaded up the sample 
>>> reference data. Is there a simple way to makes these fields optional 
>>> without needing to change the program? i.e. I am looking for a user method 
>>> of being able to ignore these fields. 
>>>
>>> Thank you very much for any help,
>>>
>>> Lucy
>>>
>>>
>>>  
>>>
>> -- 
>> -- 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 a topic in the 
>> Google Groups "Arches Project" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/archesproject/QOUoumJpLHc/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
-- 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.

Reply via email to