Feel free to join the next Helmholtz Hacky Hour #26 on Wednesday, April 21, 2021 from 2PM to 3PM!

Commit 1d313524 authored by Martin Lange's avatar Martin Lange

extended and tweaked HowTo

parent 11c40524
Pipeline #12102 passed with stage
in 13 seconds
......@@ -6,17 +6,30 @@ There are several ways to use this projects or it's [downloadable outputs](https
After following any of the following sections, you should see a window with grassers bustling around.
## Running from download
**Contents**
The [downloads](https://git.ufz.de/oesa/ecs-tutorial/-/jobs/artifacts/master/download?job=build) contain a file `Grassing.zip`. Extract it and navigate into folder `Grassing/bin`. Double-click or run file `Grassing`, or `Grassing.bat` if you are on Windows.
* [Run from downloads](#run-from-downloads)
* [Browse the plain Java code](#browse-the-plain-java-code)
* [Build from downloads](#build-from-downloads)
* [Clone, extract, build](#clone-extract-build)
## Run from downloads
The [downloads](https://git.ufz.de/oesa/ecs-tutorial/-/jobs/artifacts/master/download?job=build) contain a file `Grassing.zip`. Extract it and navigate into folder `Grassing/bin`. Double-click or run file `Grassing` (or `Grassing.bat` if you are on Windows).
> This required Java 11 or newer to be installed on your machine. Simply try running the model, and install Java in case you get a respective error.
## Building from download
## Browse the plain Java code
The [downloads](https://git.ufz.de/oesa/ecs-tutorial/-/jobs/artifacts/master/download?job=build) contain a folder `code`. This folder contains the project's Java code that you can browse following the structure of a "normal" Java project, rather than weaved into the Literate Programming document.
To work on the code, you can import the folder (potentially after renaming it) into your favourite Java-supporting IDE. If your IDE supports Gradle, you can import it as a Gradle project.
## Build from downloads
The [downloads](https://git.ufz.de/oesa/ecs-tutorial/-/jobs/artifacts/master/download?job=build) contain a folder `code`. This folder contains the project's Java code and a [Gradle](https://gradle.org/) project.
The [downloads](https://git.ufz.de/oesa/ecs-tutorial/-/jobs/artifacts/master/download?job=build) contain a folder `code`. Besides the project's Java code it contains a [Gradle](https://gradle.org/) project.
You can build and run the project by the following command from inside folder `code`:
You can build and run the project with the following command executed inside folder `code`:
```
gradle run
......@@ -24,9 +37,7 @@ gradle run
> This requires Gradle and Java 11 or newer to be installed on your machine.
To work on the code, you can import the folder (potentially after renaming it) into your favourite Java-supporting IDE. If your IDE supports Gradle, you can import it as a Gradle project.
## Cloning, Yarner, building
## Clone, extract, build
Clone the repository using the following command:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment