Difference between revisions of "bases"
(link to distribution) |
m (heavily simplify intro, the link distribution is nearly self sufficient) |
||
Line 3: | Line 3: | ||
<!-- [[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 folder | + | The '''bases folder''' is by default a subfolder of the [[distribution|GeneWeb distribution]] named {{c|bases}} that contains all your personnal data: the genealogical databases themselves with their notes, images, authentification files, template personalisation, etc. It can be moved or renamed according to your preferences.<!-- HS : Similarly, the choice of names for your bases and {{c|.auth}} files is unconstrained.--> |
− | In each of | + | In each of its {{c|etc}}, {{c|images}}, {{c|lang}} and {{c|src}} folders, subfolders carrying the name of the base {{c|mybase.gwb}} hold the specific data for each base. |
<!-- (Note that the picture on the right has been taken off a personal computer where the bases are stored in a folder names {{c|GeneWeb-Bases}}, as opposed to {{c|bases}} in the remote server structure proposed here). --> | <!-- (Note that the picture on the right has been taken off a personal computer where the bases are stored in a folder names {{c|GeneWeb-Bases}}, as opposed to {{c|bases}} in the remote server structure proposed here). --> | ||
{{arbre début}} | {{arbre début}} | ||
− | * {{d}} [[distribution]] | + | * {{d}} [[distribution]]: details all the other files and subfolders out of {{c|bases}} folder, like the programs or template files. |
** {{d}} bases: The folder containing the GeneWeb databases | ** {{d}} bases: The folder containing the GeneWeb databases | ||
*** {{d}} mybase.gwb: folder of the genealogical database called {{c|mybase}} | *** {{d}} mybase.gwb: folder of the genealogical database called {{c|mybase}} | ||
Line 54: | Line 54: | ||
{{arbre début}} | {{arbre début}} | ||
− | * {{d}} [[distribution]] | + | * {{d}} [[distribution]] |
** {{d}} bases: The folder containing the GeneWeb databases | ** {{d}} bases: The folder containing the GeneWeb databases | ||
*** {{f}} comm.log: execution log of the last base creation with a {{c|gwc}} command | *** {{f}} comm.log: execution log of the last base creation with a {{c|gwc}} command |
Revision as of 18:17, 11 November 2018
![]() |
English |
---|
The bases folder is by default a subfolder of the GeneWeb distribution named bases
that contains all your personnal data: the genealogical databases themselves with their notes, images, authentification files, template personalisation, etc. It can be moved or renamed according to your preferences.
In each of its etc
, images
, lang
and src
folders, subfolders carrying the name of the base mybase.gwb
hold the specific data for each base.
-
distribution: details all the other files and subfolders out of
bases
folder, like the programs or template files.-
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: file temporary storing the tokens needed for login in CGI mode
-
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
-
-
gw
- […] gwd/gwsetup launch scripts, README, etc.
-
Bases folder in GeneWeb 7
![]() |
This section of the documentation is not yet implemented. The current version of GeneWeb v7 adheres to the old folder structure.
|
GeneWeb 7 simplifies the archival of databases regrouping all the files needed for a single database under the same folder. With this configuration, it becomes far simpler to use archival tools such as tar
, zip
or rar
to store a single database folder in an archive (see save for details and comments).
-
distribution
-
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
-add_lexicon
at gwd start) -
tags.txt: alternate list of authorized HTML tags (loaded with
-allowed_tags
at gwd start) -
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: file temporary storing the tokens needed for login in CGI mode
-
mybase.lck: lock file for mybase
robot: list IP addresses of detected robots
-
-
-
gw
- […] gwd/gwsetup launch scripts, CHANGES.txt, README, etc.
-
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).