commit | caa22a464e7ecf72137834c21268ab10d5318e3d | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Mon Jan 23 07:54:41 2023 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Mon Jan 23 07:58:18 2023 +0100 |
tree | 47c835f9c7989d1ed100373e11d156973d255fe3 | |
parent | 48591091b2fff2348f13cf86d8b92f1cea09d654 [diff] |
Update Readme.md Change-Id: Idc6968bbd0399aa2f61eb7908b01fcaa9144f240
This repository is primarily aimed at developers who want to build KorAP or one of its components or related tools themselves.
It helps to check out all necessary repositories using Repo, a tool built by the Android development team to manage multi-repository projects.
You’ll need to set up some directories in your build environment.
To create them:
mkdir -p ~/bin mkdir -p ~/KorAP
The ~/bin directory will contain the git-repo tool (commonly named “repo”) and the ~/KorAP directory will contain the source code of KorAP.
repo
commandEnter the following to download the repo binary and make it executable (runnable):
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo chmod a+x ~/bin/repo
~/bin
directory in your path of executionIn recent versions of Ubuntu, ~/bin
should already be in your PATH. You can check this by opening ~/.profile
with a text editor and verifying the following code exists (add it if it is missing):
# set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" fi
Given that repo requires you to identify yourself to sync KorAP sources, run the following commands to configure your git identity:
git config --global user.email "you@example.com" git config --global user.name "Your Name"
cd ~/KorAP repo init -u https://korap.ids-mannheim.de/gerrit/KorAP/manifest repo sync