Deploy the application on your GAS.
It is assumed you have built your application. For more information on building the application,
go to Build and test the application. In this task you will package the
gwa_dist
in a Genero archive (gwa) file using fglgar gwa.
Once you have created an archive for your application, you can now deploy it on the GAS and/or
uploaded it to a web server.
Steps
-
Execute the fglgar gwa command and related options to create a Genero
archive (gwa) file.
fglgar gwa --gwa gwa_dist --output myapp.gwa
Where:
- The
--gwa
option is mandatory. It must be set to the path of the gwa directory
created by the gwabuildtool.
- The
--output
option is also mandatory. You must set it to the name of the
gwa file to generate and the relative or absolute path to where it is to be
output.
An archive file (gwa
) with all the necessary files is created in the output
path.
-
Execute the gasadmin gwa command and related options to deploy the Genero
archive (gwa) file on the GAS.
For details, refer to the gasadmin topic in Genero Application Server User Guide.
gasadmin gwa --deploy-archive myapp.gwa
The application should now be accessible on the server where the GAS is running at a URL like
this:
https://host:port/gas/gwa/myapp/index.html