Difference between revisions of "bases"
m ([…] instead of {{f}} for multiple files) |
m (→ Bases folder in GeneWeb 7: un peu plus homogène) |
||
Line 53: | Line 53: | ||
* {{d}} [[distribution]] (details the description of the program folder {{c|gw/}}, only {{c|bases/}} is described here) | * {{d}} [[distribution]] (details the description of the program folder {{c|gw/}}, only {{c|bases/}} is described here) | ||
** {{d}} bases: The folder containing the GeneWeb databases | ** {{d}} bases: The folder containing the GeneWeb databases | ||
− | *** {{f}} comm.log: | + | *** {{f}} comm.log: execution log of the last base creation with a {{c|gwc}} command |
− | *** {{f}} perso_lexicon.txt: UTF-8 personnal complementary lexicon loaded with {{c|-add_lexicon bases/perso_lexicon.txt}} | + | *** {{f}} perso_lexicon.txt: UTF-8 personnal complementary lexicon (loaded with {{c|[[gwd]] -add_lexicon bases/perso_lexicon.txt}}) |
− | *** {{f}} tags.txt: alternate list of [[tags|authorized HTML tags]] loaded with {{c|-allowed_tags bases/tags.txt}} | + | *** {{f}} tags.txt: alternate list of [[tags|authorized HTML tags]] (loaded with {{c|gwd -allowed_tags bases/tags.txt}}) |
*** {{d}} mybase.gwb: folder of the genealogical database called {{c|mybase}} | *** {{d}} mybase.gwb: folder of the genealogical database called {{c|mybase}} | ||
**** {{f}} params.gwf: associated [[configuration|.gwf configuration/parameters file]] | **** {{f}} params.gwf: associated [[configuration|.gwf configuration/parameters file]] | ||
− | **** {{f}} mybase-f.auth: example of [[password#Specific access|password file for friends]] ({{c|1=friend_passwd_file=}}) | + | **** {{f}} mybase-f.auth: example of [[password#Specific access|password file for friends]] ({{c|1=friend_passwd_file=}} in {{c|params.gwf}}) |
− | **** {{f}} mybase-w.auth: example of password file for wizards ({{c|1=wizard_passwd_file=}}) | + | **** {{f}} mybase-w.auth: example of password file for wizards ({{c|1=wizard_passwd_file=}} in {{c|params.gwf}}) |
**** {{f}} counts.txt: access counts | **** {{f}} counts.txt: access counts | ||
**** {{f}} history: history of modifications | **** {{f}} history: history of modifications | ||
Line 67: | Line 67: | ||
***** {{f}} mydoc.pdf: PDF files called with {{c|1=m=PDF}} | ***** {{f}} mydoc.pdf: PDF files called with {{c|1=m=PDF}} | ||
***** {{f}} mypage.html: HTML pages called with {{c|1=m=HTM}} | ***** {{f}} mypage.html: HTML pages called with {{c|1=m=HTM}} | ||
− | ***** {{branche finale}}{{f}} myimage.jpg: images called with {{c|1=m=IMG}} or {{c|1=m=IMH}} ({{c|1=m=IM}} kept for backward compatibility) | + | ***** {{branche finale}}{{f}} myimage.jpg: images called with {{c|1=m=IMG}} or {{c|1=m=IMH}} ({{c|1=m=IM}} kept for backward compatibility) |
**** {{d}} etc: personnalized variants of template files, used in priority over the generic {{c|gw/etc}} files (see [[templates]]) | **** {{d}} etc: personnalized variants of template files, used in priority over the generic {{c|gw/etc}} files (see [[templates]]) | ||
***** {{d}} perso_module: personnalized variants of perso_modules files | ***** {{d}} perso_module: personnalized variants of perso_modules files | ||
Line 74: | Line 74: | ||
***** {{f}} hed.txt: base specific header file | ***** {{f}} hed.txt: base specific header file | ||
***** {{branche finale}}{{f}} trl.txt: base specific trailer file | ***** {{branche finale}}{{f}} trl.txt: base specific trailer file | ||
− | **** {{d}} history_d: folder with all diff files (this folder may be located elsewhere according to {{c|1=history_path=}} in {{c|params.gwf}}) | + | **** {{d}} history_d: folder with all diff files (this folder may be located elsewhere according to {{c|1=history_path=}} in {{c|params.gwf}}) |
**** {{d}} portraits: portraits images | **** {{d}} portraits: portraits images | ||
***** {{f}} first_name.occurence.last_name.jpg | ***** {{f}} first_name.occurence.last_name.jpg | ||
***** {{branche finale}}{{f}} other_first_name.occurence.last_name.jpg | ***** {{branche finale}}{{f}} other_first_name.occurence.last_name.jpg | ||
− | **** {{branche finale}}[…] base, base.acc, cache_info […] names.inx, notes_links, patches (internal files and folders of the database) | + | **** {{branche finale}}[…] base, base.acc, cache_info […] names.inx, notes_links, patches (internal files and folders of the database) |
*** {{d}} mybase2.gwb: folder of a second genealogical database {{c|mybase2}} | *** {{d}} mybase2.gwb: folder of a second genealogical database {{c|mybase2}} | ||
**** {{branche finale}}[…] the organisation is the same for each database see description for mybase.gwb folder above | **** {{branche finale}}[…] the organisation is the same for each database see description for mybase.gwb folder above | ||
*** {{branche finale}}{{d}} cnt: holding the robot file, locks, and memorising the access counts for each base | *** {{branche finale}}{{d}} cnt: holding the robot file, locks, and memorising the access counts for each base | ||
**** {{f}} actlog: | **** {{f}} actlog: | ||
− | **** {{f}} mybase.lck: lock file for mybase | + | **** {{f}} mybase.lck: lock file for mybase |
**** {{branche finale}}{{f}} [[access#Robots management|robot]]: list IP addresses of detected robots | **** {{branche finale}}{{f}} [[access#Robots management|robot]]: list IP addresses of detected robots | ||
** {{d}} gw | ** {{d}} gw |
Revision as of 21:07, 10 February 2017
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.
- distribution (details the description of the program folder
gw/
, onlybases/
is described here)- bases: The folder containing the GeneWeb databases
- mybase.gwb: folder of the genealogical database called
mybase
- mybase.gwf: associated .gwf configuration/parameters file
- mybase-f.auth example of password file for friends (
friend_passwd_file=
) - mybase-w.auth example of password file for wizards (
wizard_passwd_file=
) - mybase2.gwb: folder of a second genealogical database
mybase2
- mybase2.gwf/auth configuration files associated to mybase2, etc.
- cnt: holding the robot file, locks, and memorising the access counts for each base
- actlog
- robot list IP address of robots
- mybase.txt access counts for mybase
- mybase.lck lock file for mybase
- etc: used in priority over the generic
gw/etc
files (see templates) - images
- lang: containing some base specific language related template text files (lexicon for instance)
- src
- mybase.gwb: folder of the genealogical database called
- gw
- […] gwd/gwsetup launch scripts, README, etc.
- bases: The folder containing the GeneWeb databases
Bases folder in GeneWeb 7
GeneWeb 7 simplify the archival of databases sorting all files needed for a single database under the same folder.
- distribution (details the description of the program folder
gw/
, onlybases/
is described here)- bases: The folder containing the GeneWeb databases
- comm.log: execution log of the last base creation with a
gwc
command - perso_lexicon.txt: UTF-8 personnal complementary lexicon (loaded with
gwd -add_lexicon bases/perso_lexicon.txt
) - tags.txt: alternate list of authorized HTML tags (loaded with
gwd -allowed_tags bases/tags.txt
) - mybase.gwb: folder of the genealogical database called
mybase
- params.gwf: associated .gwf configuration/parameters file
- mybase-f.auth: example of password file for friends (
friend_passwd_file=
inparams.gwf
) - mybase-w.auth: example of password file for wizards (
wizard_passwd_file=
inparams.gwf
) - counts.txt: access counts
- history: history of modifications
- particles.txt: particles list for this base.
- documents: image/txt/pdf/html files, subdirs allowed
- etc: personnalized variants of template files, used in priority over the generic
gw/etc
files (see templates) - history_d: folder with all diff files (this folder may be located elsewhere according to
history_path=
inparams.gwf
) - portraits: portraits images
- […] base, base.acc, cache_info […] names.inx, notes_links, patches (internal files and folders of the database)
- mybase2.gwb: folder of a second genealogical database
mybase2
- […] the organisation is the same for each database see description for mybase.gwb folder above
- cnt: holding the robot file, locks, and memorising the access counts for each base
- actlog:
- mybase.lck: lock file for mybase
- robot: list IP addresses of detected robots
- comm.log: execution log of the last base creation with a
- gw
- […] gwd/gwsetup launch scripts, CHANGES.txt, README, etc.
- bases: The folder containing the GeneWeb databases
Note that with this configuration, all personnalization happens in files stored in the base folder. A new release of GeneWeb may be installed safely by copying the new gw
folder and possibly new copies of gwd/gwsetup launch scripts, CHANGES.txt, README, etc (the last two lines of the tree above).