Deploy an archive with PublishGAR
The FGL Web services PublishGAR tool that is provided in the Genero BDL installation allows you to deploy applications on both local and remote servers.
As a prerequisite, you have a Genero Archive file.
Tip: It is a good idea to
set your Genero BDL environment to access the commands by running the script
$FGLDIR/envcomp.
You can use PublishGAR from the command line to deploy Genero Archive
(gar) files in the GAS
$(res.appdata.path)/deployment directory of local and remote
servers as shown in this procedure.
Tip: If you need to automate deployment, you can
include commands with PublishGAR in a script file.
At the command line type
fglrun
with the appropriate command and
arguments to use PublishGAR in deployment mode.
In this example, the Genero Archive (gar) file is deployed at
the base URL of the GAS on a remote Web
server.
fglrun
$FGLDIR/web_utilities/services/deployment/bin/PublishGAR
http://zeus:8090/gas deploy myApp.gar
Note: This
example assumes the dispatcher on your GAS installation is already started on the remote
server.
In this example, the Genero Archive (gar) file is deployed on
the local server where the standalone dispatcher on your GAS installation is already started at the
default
port.
fglrun
$FGLDIR/web_utilities/services/deployment/bin/PublishGAR
http://localhost:6394 deploy myApp.gar
All applications and services are deployed in the default group of the application server.