Skip to content

Git Sync

Git synchronization allows you to automatically update FusionDrainer to the latest version using SSH keys.

Steps for Git Synchronization

1. Generating an SSH Key

  1. First, grant execution permissions to the script:

    bash
    chmod +x updater.sh
  2. Then, run the script using the following command:

    bash
    ./updater.sh
  3. From the menu, select "1) Display SSH keys" to generate and display your SSH key.

  4. Send the public SSH key to the developer to grant access to the updates.

2. Checking for Updates

  1. Run the updater.sh script:

    bash
    ./updater.sh
  2. Select "2) Check for updates". The script will check if any new versions are available.

    If updates are available, you will see the message:

    bash
    [FusionUpdater] Updates are available for your repository.

3. Updating the Project

  1. From the menu, select "3) Update Drainer".

  2. The script will automatically download the updates, rebuild the project, and restart all containers:

    bash
    [FusionUpdater] The project has been rebuilt and containers restarted.

Now, FusionDrainer is updated and ready for use.