Table of Contents

Setup GroIMP with Git and Eclipse

In this tutorial we will cover how to:

You can find more in depth info on :

Installation of required tools

In this tutorial we will use the following software (make sure they are installed on your computer):

Download GroIMP source code

GroIMP source code is hosted on gitlab. It is split between the core - which includes the core plugin to start GroIMP (but not RGG modeling); and the additional plugins.

It is possible to download each gitlab repositories without creating accounts from the web page:

In order to properly push back modifications, it is recommended to get the sources using git. In order to do so, you need to have a GitLab account (which you can create here).

Once you are registered, you can fork the project: (see the two following images)

Image 1  Ímage 1

Image 2 Image 2

The fork is optional in order to download the code, but it is recommended if you plan on pushing modification back to the main repository (it keeps the modifications management clean).

Add an ssh key to Gitlab

To skip the authentication for every git command to your gitlab repository, one way is to add an ssh key from your computer to your gitlab account.

First create an ssh key if you don't already have one, by running the ssh-keygen command. This should create two files in your /home/.ssh/ folder: id_rsa and id_rsa.pub.

In GitLab go in your profile, then in ssh keys.

Open a terminal (git bash on windows) and go to your working directory (Where GroIMP is going to be downloaded). You can now clone the git repository on your computer with the simple git command:

git clone git@gitlab.com:YOURUSERNAME/groimp.git

Where YOURUSERNAME is your GitLab user name (e.g. git@gitlab.com:gaetan.heidsieck/groimp.git is a valid repo).

If you didn't set up your ssh key you can use:

git clone https://gitlab.com/YOURUSERNAME/groimp.git

If you didn't fork you can clone from the main repo:

git clone git@gitlab.com:grogra/groimp.git

You should have a directory called groimp with all the content of the core repository.

  1. On gitlab:
    1. Create a Gitlab account
    2. Fork the core repository
    3. create a access token for maven
  2. On your device
    1. install git
    2. clone core
    3. add maven key to m2 folder
    4. Build
  3. Eclipse
    1. install eclipse
    2. create new workspace
    3. import maven projects
    4. configure build
    5. add GPUFlux