Distribution folder

From GeneWeb
Revision as of 15:43, 25 November 2016 by Henri83 (Talk | contribs)

Jump to: navigation, search
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.ext  : 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  : update the cross links between notes and pages
      • script file gwd.ext  : minimal launch script for gwd (file extension varies according to OS)
      • script file gwsetup.ext  : 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.