Difference between revisions of "bases"

From GeneWeb
Jump to: navigation, search
m (suppression des noms -1 et -2 un peu lourd remplacés par mybase et mybase2; lien interne vers bases)
Line 1: Line 1:
 
{{DISPLAYTITLE:Geneweb bases folder}}
 
{{DISPLAYTITLE:Geneweb bases folder}}
 
{{languages|bases}}
 
{{languages|bases}}
A typical installation will position the folder holding one or several of your genealogy bases at the root of your hosting service.
 
  
 
<!-- [[File:Folder-Bases.png|thumb|500px|right|Folder structure for GeneWeb bases (Genealogy data).]] -->
 
<!-- [[File:Folder-Bases.png|thumb|500px|right|Folder structure for GeneWeb bases (Genealogy data).]] -->
The {{c|bases}} folder should contain the same information structure as in the case of an installation on a personal computer. Its location is, by default, within the [[distribution]] folder with the name {{c|bases}}, but it can be located elsewhere and named otherwise according to your preferences. Similarly, the choice of names for your bases and {{c|.auth}} files is unconstrained.
+
The folder of the databases should contain the same information structure as in the case of an installation on a personal computer. Its location is, by default, within the [[distribution]] folder with the name {{c|/bases}}, but it can be located elsewhere and named otherwise according to your preferences. Similarly, the choice of names for your bases and {{c|.auth}} files is unconstrained.
  
 
In each of the {{c|etc}}, {{c|images}}, {{c|lang}} and {{c|src}} folders, sub-folders with names {{c|base-i}} hold the specific data for each base.
 
In each of the {{c|etc}}, {{c|images}}, {{c|lang}} and {{c|src}} folders, sub-folders with names {{c|base-i}} hold the specific data for each base.
Line 31: Line 30:
 
**** {{branche finale}}{{d}} mybase2: idem
 
**** {{branche finale}}{{d}} mybase2: idem
 
*** {{d}} lang: containing some base specific language related template text files (lexicon for instance).
 
*** {{d}} lang: containing some base specific language related template text files (lexicon for instance).
**** {{d}} base1
+
**** {{d}} mybase
 
**** {{branche finale}}{{d}} mybase2
 
**** {{branche finale}}{{d}} mybase2
 
*** {{branche finale}}{{d}} src
 
*** {{branche finale}}{{d}} src

Revision as of 04:19, 20 January 2017

150px-Geographylogo svg.png Language: English

The folder of the databases should contain the same information structure as in the case of an installation on a personal computer. Its location is, by default, within the distribution folder with the name /bases, but it can be located elsewhere and named otherwise according to your preferences. Similarly, the choice of names for your bases and .auth files is unconstrained.

In each of the etc, images, lang and src folders, sub-folders with names base-i hold the specific data for each base.

  • directory distribution
    • directory bases: The folder containing the GeneWeb bases.
      • directory mybase.gwb: folder for base named “mybase”.
      • file mybase.gwf: associated .gwf parameter file.
      • file base-f.auth: as many wizards and friends authorisation files as specified for each base in their respective .gwf parameter file.
      • directory mybase2.gwb
      • file mybase2.gwf
      • file mybase2-w.auth
      • directory cnt: holding the robot file, locks, and memorising the access counts (base-i.txt) for each base
      • directory etc: used in priority over the generic gw/etc files (see templates)
        • directory mybase: template folders for mybase
          • directory perso_module
            • file module_xx.txt
          • file trl.txt
        • directory mybase2: idem
      • directory images
        • directory mybase: portraits images for mybase
          • file first_name_1.occurence.last_name.jpg
          • file first_name_2.occurence.last_name.jpg
        • directory mybase2: idem
      • directory lang: containing some base specific language related template text files (lexicon for instance).
        • directory mybase
        • directory mybase2
      • directory src
        • directory mybase
          • directory images: images called with m=IMH
            • file myimage.jpg
          • file file1.txt: text file called with m=SRC
        • directory mybase2: idem
    • directory gw
    • file gwd/gwsetup launch scripts, README, etc.