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:

  1. Run the following command to set up the functionality: appviewx --git
  2. 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"
    
    }
    
    ]
  3. To get the REPO_TOKEN for projects, please contact [email protected]
  4. To fetch the latest checkout of the projects mentioned in the config file, run the following command: appviewx --git

    The 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.