Skip to content

Commit

Permalink
Merge branch 'main' into prod
Browse files Browse the repository at this point in the history
  • Loading branch information
RudiThoeni committed Dec 11, 2023
2 parents 0b66f53 + 0fb68dc commit 399f1f2
Show file tree
Hide file tree
Showing 14 changed files with 324 additions and 204 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
with:
build-command: npm run build
node-version: ${{env.NODE_VERSION}}
- uses: noi-techpark/github-actions/webcomp-test@v2



Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: REUSE Compliance Check

on: push

jobs:
test:
runs-on: ubuntu-20.04
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v1
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# General
.DS_Store

# compiled output
/dist

# Editors
.idea
.vscode
Expand Down
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
repos:
- repo: https://github.com/fsfe/reuse-tool
rev: v1.0.0
hooks:
- id: reuse
18 changes: 5 additions & 13 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,10 @@ Upstream-Name: webcomp-boilerplate
Upstream-Contact: IDM Südtirol Alto Adige <[email protected]>
Source: https://github.com/noi-techpark/webcomp-boilerplate

Files: src/*
Copyright: 2021 IDM <[email protected]>
License: AGPL-3.0-or-later

Files: src/*.md src/*.txt .env.*
Copyright: 2021 IDM <[email protected]>
License: CC0-1.0

Files: infrastructure/*
Copyright: 2021 IDM Südtirol Alto Adige <[email protected]>
Files: .github/* infrastructure/* .gitignore .pre-commit-config.yaml LICENSE.md *.png *.json
Copyright: (c) 2021 IDM Südtirol Alto Adige <[email protected]>
License: CC0-1.0

Files: .editorconfig .gitignore README.md docker-compose.yml package.json wcs-manifest.json .github/workflows/* dist/js/widget.js index.html package-lock.json webpack.config.js wcs-logo.png
Copyright: 2021 IDM Südtirol Alto Adige <[email protected]>
License: CC0-1.0
Files: dist/*
Copyright: (c) 2021 IDM Südtirol Alto Adige <[email protected]>
License: AGPL-3.0-or-later
29 changes: 26 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<!--
SPDX-FileCopyrightText: 2021 IDM Südtirol Alto Adige <[email protected]>
SPDX-License-Identifier: CC0-1.0
-->

# Webcomponent How To Arrive in South Tyrol

[![REUSE Compliance](https://github.com/noi-techpark/webcomp-howtoarriveinsouthtyrol/actions/workflows/reuse.yml/badge.svg)](https://github.com/noi-techpark/odh-docs/wiki/REUSE#badges)
[![REUSE status](https://api.reuse.software/badge/github.com/noi-techpark/webcomp-boilerplate)](https://api.reuse.software/info/github.com/noi-techpark/webcomp-boilerplate)

This Webcomponent shows all data from Opendatahub Article Endpoint of type SpecialAnnouncement. Currently there are shown the lGeneral informations on how to arrive in South Tyrol by car, train, bus or with the airplane.....
Expand Down Expand Up @@ -73,13 +80,13 @@ For a ready to use Docker environment with all prerequisites already installed a
Get a copy of the repository:

```bash
ToDo: git clone https://github.com/noi-techpark/webcomp-specialannouncement.git
ToDo: git clone https://github.com/noi-techpark/webcomp-howtoarriveinsouthtyrol.git
```

Change directory:

```bash
ToDo: cd webcomp-specialannouncement/
ToDo: cd webcomp-howtoarriveinsouthtyrol/
```

### Dependencies
Expand Down Expand Up @@ -169,7 +176,7 @@ docker-compose run --rm app /bin/bash -c "npm run test"

### Support

For support, please contact [help@opendatahub.bz.it](mailto:help@opendatahub.bz.it).
For support, please contact [help@opendatahub.com](mailto:help@opendatahub.com).

### Contributing

Expand All @@ -196,3 +203,19 @@ The project uses this boilerplate: [https://github.com/noi-techpark/webcomp-boil
### License

The code in this project is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE Version 3 license. See the [LICENSE.md](LICENSE.md) file for more information.

### REUSE

This project is [REUSE](https://reuse.software) compliant, more information about the usage of REUSE in NOI Techpark repositories can be found [here](https://github.com/noi-techpark/odh-docs/wiki/Guidelines-for-developers-and-licenses#guidelines-for-contributors-and-new-developers).

Since the CI for this project checks for REUSE compliance you might find it useful to use a pre-commit hook checking for REUSE compliance locally. The [pre-commit-config](.pre-commit-config.yaml) file in the repository root is already configured to check for REUSE compliance with help of the [pre-commit](https://pre-commit.com) tool.

Install the tool by running:
```bash
pip install pre-commit
```
Then install the pre-commit hook via the config file by running:
```bash
pre-commit install
```

1 change: 0 additions & 1 deletion dist/js/widget.js

This file was deleted.

4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021 IDM Südtirol Alto Adige <[email protected]>
#
# SPDX-License-Identifier: CC0-1.0

version: "3"
services:
app:
Expand Down
6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2021 IDM Südtirol Alto Adige <[email protected]>
SPDX-License-Identifier: AGPL-3.0-or-later
-->

<!DOCTYPE html>
<html lang="de">
<head>
Expand Down
Loading

0 comments on commit 399f1f2

Please sign in to comment.