Difference between revisions of "bases"

From GeneWeb
Jump to: navigation, search
m (avertissement lien vers distribution + « idem » pour mybase2 (plus simple et plus homogène avec la suite) ; .auth plus explicites)
m
Line 18: Line 18:
 
*** {{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
***** {{f}} [[access#Robots management|{{c|robot}}]]
+
***** {{f}} [[access#Robots management|robot]] list IP address of robots
 
***** {{f}} mybase.txt mybase access counts  
 
***** {{f}} mybase.txt mybase access counts  
 
***** {{branche finale}}{{f}} mybase.lck mybase blocked addresses
 
***** {{branche finale}}{{f}} mybase.lck mybase blocked addresses

Revision as of 02:01, 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 list IP address of robots
          • 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.