Configure an AppViewX Git
AppViewX Git allows the user to get the latest checkouts of various projects from Github. After a new deployment/migration is completed:
-
Run the following command to set up the functionality:
appviewx --git -
To configure the projects, open the
<appviewx_dir>/appviewx_git/git_config.py file and configure as
follows:
GIT_REPO_URLS = [ { "REPO_NAME": "Load-Balancers", "REPO_URL": "https://github.com/AppViewX/Load-Balancers", "REPO_TOKEN": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" }, { "REPO_NAME": "Certificates", "REPO_URL": "https://github.com/AppViewX/Certificates", "REPO_TOKEN": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" } ] - To get the REPO_TOKEN for projects, please contact [email protected]
-
To fetch the latest checkout of the projects mentioned in the config file, run
the following command:
appviewx --gitThe server where this command has been executed must have an access to connect to the github server either through a direct internet connection or through a proxy.