Difference between revisions of "bases"

From GeneWeb
Jump to: navigation, search
m (plus cohérent)
m (avertissement lien vers distribution + « idem » pour mybase2 (plus simple et plus homogène avec la suite) ; .auth plus explicites)
Line 9: Line 9:
  
 
{{arbre début}}
 
{{arbre début}}
* {{d}} [[distribution]]
+
* {{d}} [[distribution]] (details the description of the program folder {{c|gw/}}, only {{c|bases/}} is described here)
** {{d}} bases: The folder containing the GeneWeb bases.
+
** {{d}} bases: The folder containing the GeneWeb databases
*** {{d}} mybase.gwb: folder for base named {{c|mybase}}.
+
*** {{d}} mybase.gwb: folder of the genealogical database named {{c|mybase}}
*** {{f}} mybase.gwf: associated [[configuration|.gwf parameter file]].
+
*** {{f}} mybase.gwf: associated [[configuration|.gwf configuration/parameters file]]
*** {{f}} base-f.auth: as many [[password#Specific access|wizards and friends authorisation files]] as specified for each base in their respective .gwf parameter file.
+
*** {{f}} mybase-f.auth example of [[password#Specific access|password file for friends]] ({{c|1=friend_passwd_file=}})
*** {{d}} mybase2.gwb
+
*** {{branche finale}}{{f}} mybase-w.auth example of password file for wizards ({{c|1=wizard_passwd_file=}})
*** {{f}} mybase2.gwf
+
*** {{d}} mybase2.gwb: idem
*** {{f}} mybase2-w.auth
+
 
*** {{d}} cnt: holding the robot file, locks, and memorising the access counts for each base
 
*** {{d}} cnt: holding the robot file, locks, and memorising the access counts for each base
 
***** {{f}} actlog
 
***** {{f}} actlog
Line 34: Line 33:
 
***** {{branche finale}}{{f}} first_name.occurence.last_name.jpg
 
***** {{branche finale}}{{f}} first_name.occurence.last_name.jpg
 
**** {{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}} mybase
 
**** {{d}} mybase
 
**** {{branche finale}}{{d}} mybase2
 
**** {{branche finale}}{{d}} mybase2

Revision as of 01:57, 10 February 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 carrying the name of the base mybase.gwb hold the specific data for each base.

  • directory distribution (details the description of the program folder gw/, only bases/ is described here)
    • directory bases: The folder containing the GeneWeb databases
      • directory mybase.gwb: folder of the genealogical database named mybase
      • file mybase.gwf: associated .gwf configuration/parameters file
      • file mybase-f.auth example of password file for friends (friend_passwd_file=)
      • file mybase-w.auth example of password file for wizards (wizard_passwd_file=)
      • directory mybase2.gwb: idem
      • directory cnt: holding the robot file, locks, and memorising the access counts for each base
          • file actlog
          • file robot
          • file mybase.txt mybase access counts
          • file mybase.lck mybase blocked addresses
      • 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 header.txt base specific header file
          • file trl.txt base specific trailer file
        • directory mybase2: idem
      • directory images
        • directory mybase: portraits images for mybase
          • file first_name.occurence.last_name.jpg
          • file first_name.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.