Loading...
 

SetupGitHci

Install and setup Git for use at the HCI group


Installation:

• MacOS
If you have Xcode installed, it is already there.
Otherwise install it with MacPorts or Brew:
sudo port install git
or with Brew:
brew install git

• Windows
Download the 64-Bit Git Standalone Installer.
https://git-scm.com/download/win

The standard installation options are suitable.

Setup:

On Windows please use the Git Bash only, for this guide. For Mac use the Terminal.

Setup the local account:
git config --global user.name "Firstname Lastname"
git config --global user.email "email_address"
REMARK: Please don’t just copy! Insert your own appropriate data. ;-)

Create your key:
ssh-keygen -t rsa -C "firstname.lastname@stud.uni-bamberg.de"
Name the key files for example:
.ssh/id_rsa_hci-gitlab
Hit Enter several times to bypass the passphrase

Import your public key to the HCI Gitlab:
Type:
cat .ssh/id_rsa_hci-gitlab.pub

The output should look somethink like:
ssh-rsa AAAB3NzaC1yc2EAAAADAQABAAABgQDUOQiwJWrKMfOV2ue+6P9cq9K/jUq/mWOgnyMgNwx+a9n1uMShy
GiuKUhvy4XJl75UGO56JgbkTzMHhsaWyckLmy9HDRe07Ialuxp29Meq5qXKmuzVknLk7C2H5G9YiAcLDHR4vEBjdct2
8/YB/7P3tU6o3HzsA3JC8sa0lXsqa67Ytjk+PKUrHH913YakMAjcCkKHx3gmlUPikv8aAW9ERmg0F37dK9KuaJc62RX
s/hMcQLg5RTEEirFjuCQtCPOUiQ4WLU8283jVW8ookhWFL2Ten6OXMWB3XxoVdU79W0QyrmFDjz+zZmPiHNy9k2J2ys
NivUgZGd/fVUXHItNoG66q3zA4I4HWCvWDWzQBJWUqsz3OkaZbC6neq8ZyTMD001ENMk7tbqAlBCihNBizUUWchucuF
oTZ3ai3f203nA4rPzddqc1XLiyNrEt8l9eVsD7lxKxYfk6AIPKQVUyLg+BZXFGNsWLb+uMMlVTEBc1dA9GGg6o3DW0t
AQeoCc= firstname.lastname at stud.uni-bamberg.de

Copy this code,
and go to https://rcml.hci.uni-bamberg.de/keys/new
Insert the code into the formula in the key field and give it an appropriate name.


Configure to use with the HCI Gitlab:

Go to your SSH configuration directory:
cd ~/.ssh/

If the file 'config' isn't here, you need to create it with 'touch config'.

Now add to 'config':
host rcml.hci.uni-bamberg.de
HostName rcml.hci.uni-bamberg.de
IdentityFile ~/.ssh/id_rsa_hci-gitlab
User firstname.lastname at stud.uni-bamberg.de
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
AddressFamily inet


That’s it! You successfully setup your HCI Gitlab account.
If you still have problems connecting, try again with the VPN connection activated.

If you have already a project on HCI Gitlab you should be able to clone it with a command like:
git clone git@rcml.hci.uni-bamberg.de:example_namespace/example.git

Get the SensQDroid code

Go in your Terminal to a directory where you want to have the code.
git clone git@rcml.hci.uni-bamberg.de:esmtools/sensqdroid2_deploy.git



Users [toggle]

2 online users

Internal [toggle]

Chat [toggle]