Quick start: Genero Archive

Follow these steps to quickly archive and deploy applications and services.

As a prerequisite, you must have your applications and/or services created and tested. You must have created an external configuration file for each application or service.
This initial procedure provides you with a quick overview of the main tasks of archiving and deploying an application followed by some examples of building archives and deploying applications: For a full understanding of what Genero archiving offers, please read all archiving topics.
  1. Consolidate all necessary files under a root directory. Within this directory, you must have a subdirectory for public images if you are deploying public images with your application. See Building an archive with public resources. You can also have sub-directories as needed to assist with the organization of your files.
    Note: When you create the archive, you will specify a root directory only. All files and directories within that directory will be included in the archive. If you wish to add a subset of the files in a directory, you can use another zip tool to create the file. See Create a Genero Archive.
  2. Update the application's configuration file (xcf) to set all resources relative to the resource $(res.deployment.path). See Create a Genero Archive.
  3. Create a MANIFEST file by hand (optional) or (recommended) use the deployment framework feature of fglgar to automatically generate the MANIFEST. See The MANIFEST file and The fglgar command.
  4. Create the archive file. See Create a Genero Archive.
  5. Deploy the archive file. If you are on the application server, you deploy with the gasadmin command. See Deploy an archive. If you are on a remote computer, you can deploy with the FGL tool, PublishGar, or you can use other tools such as curl. See Genero Archive deployment service.
  6. Enable the archive. See Activate (enable) a deployed archive.
The applications, services and resources included in the archive are available for your end users.