Difference between revisions of "distribution"

From GeneWeb
Jump to: navigation, search
m
m
Line 24: Line 24:
 
*** {{d}} bases  : a proposed location for storing bases
 
*** {{d}} bases  : a proposed location for storing bases
 
*** {{f}} CHANGES.txt
 
*** {{f}} CHANGES.txt
*** {{f}} geneweb  : launch gwsetup, gwd and START.html page (file extension varies according to OS)
+
*** {{s}} geneweb  : launch gwsetup, gwd and START.html page (file extension varies according to OS)
 
*** {{d}} gw
 
*** {{d}} gw
 
**** {{f}} a.gwf  : standard version for the configuration parameters of a base
 
**** {{f}} a.gwf  : standard version for the configuration parameters of a base
Line 41: Line 41:
 
**** {{f}} tags.txt : list of authorized HTML tags
 
**** {{f}} tags.txt : list of authorized HTML tags
 
**** {{branche finale}}{{d}} update_nldb
 
**** {{branche finale}}{{d}} update_nldb
*** {{f}} gwd  : minimal launch script for gwd (file extension varies according to OS)
+
*** {{s}} gwd  : minimal launch script for gwd (file extension varies according to OS)
*** {{f}} gwsetup  : minimal launch script for gwsetup (file extension varies according to OS)
+
*** {{s}} gwsetup  : minimal launch script for gwsetup (file extension varies according to OS)
 
*** {{f}} LICENSE.txt
 
*** {{f}} LICENSE.txt
 
*** {{f}} LIZEZMOI.txt
 
*** {{f}} LIZEZMOI.txt

Revision as of 14:32, 25 November 2016

150px-Geographylogo svg.png Language: English

A GeneWeb distribution, available as a compressed file (.tar er .tgz or .zip) can be unfolded into a distribution folder whose structure is described here. This description starts from an example of an existing downloaded distribution file:

(server):~#cd
(server):~#ls -al gw-7.00-alpha-linux.tgz
-rw-r--r-- 1 username usergroup 5616960 Nov 24 14:21 gw-7.00-alpha-linux.tgz
gw-7.00-alpha-linux/
gw-7.00-alpha-linux/gw/
gw-7.00-alpha-linux/gw/gwd.arg
gw-7.00-alpha-linux/gw/convert_hist
....
gw-7.00-alpha-linux/gwsetup
(server):~#nv gw-7.00-alpha-linux geneweb-distribution

You may rename the gw-7.00-alpha-linux folder to any name of your choice, as long as you use this same name in the cgi-bin/gwd.sh launch script and the gw link to the style and JavaScript files at the web_root.

    • directory geneweb-distribution  : The folder containing the GeneWeb distribution.
      • directory bases  : a proposed location for storing bases
      • file CHANGES.txt
      • script file geneweb  : launch gwsetup, gwd and START.html page (file extension varies according to OS)
      • directory gw
        • file a.gwf  : standard version for the configuration parameters of a base
        • alt exe consang
        • directory etc  : template files
        • file ged2gwb, ged2gwb2, gwb2ged : base creation and extraction with GED format
        • alt exe gwc, gwc1, gwc2, gwu  : gwc to create a base, gwu to extract a .gw archive file
        • alt exe gwd  : the main GeneWeb server
        • file gwd.arg  : execution parameters for gwd
        • file gwd.log  : execution traces for gwd (as specified at gwd launch)
        • alt exe gwsetup  : auxiliary server for base management
        • directory images  : icons used by gwd
        • directory lang  : language files used in template construction
        • file only.txt : access restriction for gwsetup
        • directory setup  : gwsetup template files
        • file tags.txt : list of authorized HTML tags
        • directory update_nldb
      • script file gwd  : minimal launch script for gwd (file extension varies according to OS)
      • script file gwsetup  : minimal launch script for gwsetup (file extension varies according to OS)
      • file LICENSE.txt
      • file LIZEZMOI.txt
      • file README.txt
      • file START.htm  : a minimal start page (assumes that gwd and gwsetup have been started)
      • file START.htm

Note also that the minimal gwd start script provided in this distribution folder installs a base folder in the distribution folder itself. You may choose to keep this organisation rather than maintaining a separate bases folder.