Here is what you need to get started quickly. For more information on git and GitHub, see below.
- Create an account on GitHub. Let us know your username so that we can give you write access on this repository.
- Install the GitHub desktop app and log in with your account (more information).
- "Clone" this repository.
- In the GitHub app, go to
File -> Clone repository. - Go to the tab
URLand enterhttps://github.com/DCMLab/schema_annotation_data.git. - Remember the
Local pathwhere the repository will be saved. You can also look that later up viaRepository -> Show in your File Manager. - Click on
Clone.
- In the GitHub app, go to
- Use the annotation tool to make your annotations.
- You'll find the input files (score, suggestions, etc.)
in the directory to which you cloned this repository
under
data/<corpus>/(e.g.data/mozart_sonatas/). - Make your annotations by following the instructions and the app and the annotation manual.
- Double check your annotations! The app currently does not check whether you entered a valid instance of the schema that you are annotating.
- Click on
Download Annotationsto download a file with your annotations. Put this file intodata/<corpus>/annotations/<schema>/. If the<schema>directory does not exist, create it with the exact name of the schema variant.
- You'll find the input files (score, suggestions, etc.)
in the directory to which you cloned this repository
under
- Commit and push your changes.
- In the GitHub app, make sure that all changes that you want to commit are selected in the side bar.
- At the bottom of the side bar, write a short (one-line) summary of your changes. If you want, you can add a longer description in the box below.
- Click on
Commit to master. - Push your changes to GitHub by clicking on
Push originin the toolbar on the top. - If you cannot push, someone else might have made changes in the meantime.
Follow the suggestions of the GitHub app
and use a combination of
Fetch,Pull, andPushto merge these changes with yours. See below for more information on git conflicts.
In order to get the files you need for annotation and to upload the annotations you created, we use git. Git is a "version control system", i.e. it can track different versions of files, such as the source code or data files. All files belonging to a project are collected in a "repository". Each new version of the repository is called a "commit".
TODO
Download and install the GitHub Desktop App:
- On Ubuntu: In the terminal, run the command line
$ sudo snap install github-desktop --beta --classic - On Windows:
- Visit the GitHub Desktop App webpage.
- Choose Download for Windows.
- Launch the downloaded file and click Install.
- On MacOS:
- Visit the GitHub Desktop App webpage.
- Choose Download for Mac.
- Unzip the downloaded file.
- Optional: Move GitHub Desktop to the Applications folder.
Start the app and log in with the account that has access to this repository.
TODO