Overview
PhixFlow provides application and package version control using a Git Repository. This allows the export and import of an application or package from specific branches within a Git Repository.
Version Control
Initial Setup
Local Properties File
In your local.properties file, set the Git Default Path to the folder where snapshots should be saved to.
Privileges and Roles
In order to take and restore snapshots, users must either:
- be assigned the Role, Git Configure, to get full access
- or, be assigned the relevant Privilege(s):
- Configure Git Repository
- Create Snapshot for Git
- Restore Snapshot from Git
- View Git History
Creating an Application Snapshot
These are the steps to create a snapshot version of your application. For creating a snapshot of a package, the steps are similar and can be found by right-clicking on the package in the Repository.
- Right-click on an application (or package) in the Repository and select Version Control
- In the sub-menu, choose Take Snapshot
- On the Take Snapshot window, provide the following:
- Name: A useful name that identifies this version
- Description: A useful description that identifies this version
- Application: This is a read-only field containing the application's name
- Packages: This is a list of all packages used by the application
- These packages can be included in the snapshot by clicking the tick box
- Select Take Snapshot
- On the Take Snapshot window, provide the following:
- PhixFlow will take a snapshot export of your application and save it to your Git server folder, found in the PhixFlow webapps folder
- The folder that the snapshot is saved to is defined by folder specified as part of the Initial Setup section above
Restoring from an Application Snapshot
- Right-click on an application (or package) in the Repository and select Version Control
- In the sub-menu, choose Restore from Snapshot
- Alternatively, on the Administration menu, select Restore from Snapshot, then choose either:
- Applications: lists all applications where a Git version has been previously created
- or Packages: lists all packages where a Git version has been previously created
- On the Restore from Snapshot window, select the version to be restored, and click Next
- Select any packages that also require restoring and click Restore