How to install and configure GIT

by Alberto Molinaroli
1,078 views Published on Jun 19, 2023
Applies to: 9.0 or higher
Table of contents

GIT for WebRatio Platform 9 or higher

Installation Procedure

These are the guidelines to install the EGIT plugin for WebRatio Platform 9 or higher.

  1. Select Help -> Software Updates -> Find and Install... 


     
  2. In the opening dialog click the Add… button. 
  3. Type "EGIT " in the "Name" field and "https://download.eclipse.org/egit/updates-5.13" in the "Location" field, then click the OK button.


     
  4. Expand the “Eclipse Git Team Provider” node and select “Eclipse Egit” feature as in the following image


     
  5. Click the Next button two times, accept the terms of the agreement and then click the Finish button.
    Now the tool is downloading the plugin.
  6. At the end of the download process, a window appears.
    Click the OK button and then click the Restart Now button to restart WebRatio Platform.

Workspace Configuration

The workspace must be configured to use GIT properly. Follow these instructions:

  1. Select Window -> Preferences from the main menu
  2. Expand the “Team > Git” node
  3. Set ${workspace_loc} as “Default repository folder” replacing the current value


     
  4. Press the Apply button
  5. Press Apply and OK buttons

SSH Key Generation

An SSH key is necessary to use a GIT repository.
SSH keys can be created directly from WebRatio Platform.
Please use the following procedure:

  1. Select Window -> Preferences from the main menu
  2. Expand the “General > Network Connections > SSH2” node
  3. Select the Key Management tab
  4. Press the Generate RSA Key button
  5. Write a Comment if you want (e.g. name.surname@company) 
  6. Write a Passphrase. Please remember this password, it is necessary for future authentications
  7. Press the Save Private Key button


     
  8. Press the Apply button
  9. Press Apply and OK buttons

The SSH private key must be stored on your local machine and kept as a secret.
The SSH publick key must be added on your GIT account.

 
 

Related Learning Objects