From 269dcb29737f842cb2d258bb9419a93e834301a7 Mon Sep 17 00:00:00 2001
From: Jesper Zedlitz <jesper@zedlitz.de>
Date: Wed, 20 Apr 2022 10:57:36 +0200
Subject: [PATCH] Hinweise zur Lizenz und zum Bauen

---
 LICENSE                           | 22 +++++++++++++++
 README.md                         | 47 +++++++++++++++++++++++++++++++
 parts/latex_impressum.template.md | 10 +++----
 parts/pages_impressum.template.md | 12 ++++----
 4 files changed, 80 insertions(+), 11 deletions(-)
 create mode 100644 LICENSE
 create mode 100644 README.md

diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..f2395dd
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,22 @@
+MIT License
+
+Copyright (c) 2019 Knud Möller, BerlinOnline Stadtportal GmbH & Co. KG
+Copyright (c) 2022 Dr. Jesper Zedlitz, Ministerium für Energiewende, Landwirtschaft, Umwelt, Natur und Digitalisierung des Landes Schleswig-Holstein 
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..e5aaeed
--- /dev/null
+++ b/README.md
@@ -0,0 +1,47 @@
+# Open-Data-Leitfaden Schleswig-Holstein
+
+This is the source for the "Open-Data-Leitfaden Schleswig-Holstein". From the source, different targets can be generated. See the [Makefile](/Makefile) for details. 
+The workflow is based on the procedure used for the [Berliner Open-Data-Handbuch](https://github.com/berlinonline/open-data-handbuch).
+
+The following versions exist:
+
+- A PDF document generated directly from the source via [pandoc](https://pandoc.org) (and additional processing - see [Makefile](/Makefile) for details).
+- An HTML version generated directly from the source via the static website generator [Hugo](https://gohugo.io) - available online here: https://opendata.zitsh.de/leitfaden/
+
+## Building
+
+You need a few prerequisites to build the _Open-Data-Leitfaden Schleswig-Holstein_. On a Ubuntu 20.04 LTS system the following packages have to be installed:
+
+```bash
+sudo apt install make librsvg2-bin poppler-utils pandoc pdflatex hugo
+```
+
+You can create the PDF document:
+
+```bash
+git clone https://code.schleswig-holstein.de/opendata/leitfaden.git
+cd leitfaden
+make pdf
+```
+
+The resulting PDF document will be called `leitfaden-opendata.pdf`.
+
+To generate the HTML version:
+
+```bash
+git clone https://code.schleswig-holstein.de/opendata/leitfaden.git
+cd leitfaden
+make web
+```
+
+The resulting HTML files can be found in the `public/` directory. 
+
+You can also run Hugo in _live mode_ and serve the content at http://localhost:1313/leitfaden/ by using the command `make serve-web`.
+
+## License
+
+The text, all markdown sources and PDF artifacts of the _Open-Data-Leitfaden Schleswig-Holstien_ are published under [Creative Commons Namensnennung 4.0 International Lizenz](https://creativecommons.org/licenses/by/4.0/deed.de) (CC BY 4.0).
+
+For the licenses to the images contained in the _Open-Data-Leitfaden Schleswig-Holstein_, please refer to the [Bildverzeichnis](https://berlinonline.github.io/open-data-handbuch/#bildverzeichnis).
+
+All code, including the `Makefile` and the source code in `/bin` is published under the [MIT License](/LICENSE).
diff --git a/parts/latex_impressum.template.md b/parts/latex_impressum.template.md
index c316b88..26a8642 100644
--- a/parts/latex_impressum.template.md
+++ b/parts/latex_impressum.template.md
@@ -1,11 +1,11 @@
 # Impressum {-}
 
-**Herausgeber:** Land Schleswig-Holstein<br>
+**Herausgeber:** Land Schleswig-Holstein
+
 **Lizenz**: Der Text des Handbuchs ist unter einer <a href="https://creativecommons.org/licenses/by/4.0/deed.de">Creative Commons Namensnennung 4.0 International Lizenz</a> (CC BY 4.0) veröffentlicht.
 Bilder und andere Elemente, deren Urheberrecht bei Dritten liegen, sind ausgenommen.
 <a href="#quellenverzeichnis">Quellenverzeichnis</a> und <a href="#bildverzeichnis">Bildverzeichnis</a> mit entsprechenden Urheberrechtsangaben sind im Handbuch enthalten.
 
-**Quelle**: Der Quelltext für das Handbuch befindet sich in folgendem Repository: <https://github.com/berlinonline/open-data-handbuch>.
-Dort können über die _[Issue](https://github.com/berlinonline/open-data-handbuch/issues)_-Funktion auch Anregungen gemacht oder Fehler gemeldet werden (github-Account erforderlich). 
-Wer mag, kann auch gleich einen Pull Request stellen!<br/>
-**Stand**: @include(date) ([1.0.9](https://github.com/berlinonline/open-data-handbuch/blob/master/CHANGELOG.md#109))
+**Quelle**: Der Quelltext für den Leitfaden befindet sich in folgendem Repository: <https://code.schleswig-holstein.de/opendata/leitfaden>
+
+**Stand**: @include(date) 
diff --git a/parts/pages_impressum.template.md b/parts/pages_impressum.template.md
index c316b88..e135158 100644
--- a/parts/pages_impressum.template.md
+++ b/parts/pages_impressum.template.md
@@ -1,11 +1,11 @@
 # Impressum {-}
 
 **Herausgeber:** Land Schleswig-Holstein<br>
-**Lizenz**: Der Text des Handbuchs ist unter einer <a href="https://creativecommons.org/licenses/by/4.0/deed.de">Creative Commons Namensnennung 4.0 International Lizenz</a> (CC BY 4.0) veröffentlicht.
+
+**Lizenz**: Der Text des Open-Data-Leitfadens ist unter einer <a href="https://creativecommons.org/licenses/by/4.0/deed.de">Creative Commons Namensnennung 4.0 International Lizenz</a> (CC BY 4.0) veröffentlicht.
 Bilder und andere Elemente, deren Urheberrecht bei Dritten liegen, sind ausgenommen.
-<a href="#quellenverzeichnis">Quellenverzeichnis</a> und <a href="#bildverzeichnis">Bildverzeichnis</a> mit entsprechenden Urheberrechtsangaben sind im Handbuch enthalten.
+<a href="#quellenverzeichnis">Quellenverzeichnis</a> und <a href="#bildverzeichnis">Bildverzeichnis</a> mit entsprechenden Urheberrechtsangaben sind im Leitfaden enthalten.
+
+**Quelle**: Der Quelltext für den Leitfaden befindet sich in folgendem Repository: <https://code.schleswig-holstein.de/opendata/leitfaden>
 
-**Quelle**: Der Quelltext für das Handbuch befindet sich in folgendem Repository: <https://github.com/berlinonline/open-data-handbuch>.
-Dort können über die _[Issue](https://github.com/berlinonline/open-data-handbuch/issues)_-Funktion auch Anregungen gemacht oder Fehler gemeldet werden (github-Account erforderlich). 
-Wer mag, kann auch gleich einen Pull Request stellen!<br/>
-**Stand**: @include(date) ([1.0.9](https://github.com/berlinonline/open-data-handbuch/blob/master/CHANGELOG.md#109))
+**Stand**: @include(date) 
-- 
GitLab