Difference between revisions of "distribution"

From GeneWeb
Jump to: navigation, search
m
m
Line 14: Line 14:
 
....
 
....
 
gw-7.00-alpha-linux/gwsetup
 
gw-7.00-alpha-linux/gwsetup
 +
(server):~#nv gw-7.00-alpha-linux geneweb-distribution
 
</pre>
 
</pre>
 +
 +
You may rename the {{c|gw-7.00-alpha-linux}} folder to any name of your choice, as long as you use this same name in the {{c|cgi-bin/gwd.sh}} launch script and the {{c|gw}} link to the style and JavaScript files at the web_root.
  
 
{{arbre début}}
 
{{arbre début}}
 
*
 
*
** {{d}} gw-7.00-alpha-linux: The folder containing the GeneWeb distribution.
+
** {{d}} geneweb-distribution  : The folder containing the GeneWeb distribution.
 
*** {{d}} bases  : a proposed location for storing bases
 
*** {{d}} bases  : a proposed location for storing bases
 
*** {{f}} CHANGES.txt
 
*** {{f}} CHANGES.txt
Line 46: Line 49:
 
*** {{branche finale}}{{f}} START.htm
 
*** {{branche finale}}{{f}} START.htm
 
{{arbre fin}}
 
{{arbre fin}}
 
You may rename the {{c|gw-7.00-alpha-linux}} folder to any name of your choice, as long as you use this same name in the {{c|cgi-bin/gwd.sh}} launch script and the {{c|gw}} link to the style and JavaScript files at the web_root.
 
  
 
Note also that the minimal {{c|gwd}} start script provided in this distribution folder installs a {{c|base}} folder in the distribution folder itself. You may choose to keep this organisation rather than maintaining a separate bases folder.
 
Note also that the minimal {{c|gwd}} start script provided in this distribution folder installs a {{c|base}} folder in the distribution folder itself. You may choose to keep this organisation rather than maintaining a separate bases folder.

Revision as of 14:24, 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
      • 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
      • file gwd  : minimal launch script for gwd (file extension varies according to OS)
      • 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.