diff --git a/.github/workflows/feature-branch-build.yml b/.github/workflows/feature-branch-build.yml index b9ce566..543b2e9 100644 --- a/.github/workflows/feature-branch-build.yml +++ b/.github/workflows/feature-branch-build.yml @@ -34,4 +34,4 @@ jobs: # TODO ci: find a way to configure URL at runtime - name: Build run: | - npm run build -- --configuration=production --base-href=/cities-of-europe/ + npm run build -- --configuration=production --base-href=/european-geo-information/ diff --git a/.github/workflows/main-branch-build.yml b/.github/workflows/main-branch-build.yml index ae35b3b..e88fd1d 100644 --- a/.github/workflows/main-branch-build.yml +++ b/.github/workflows/main-branch-build.yml @@ -34,13 +34,13 @@ jobs: # TODO ci: find a way to configure URL at runtime - name: Build run: | - npm run build -- --configuration=production --base-href=/cities-of-europe/ + npm run build -- --configuration=production --base-href=/european-geo-information/ - name: Store dist folder uses: actions/upload-artifact@v4 with: name: dist_folder - path: ./dist/cities-of-europe/browser + path: ./dist/european-geo-information/browser deploy-gh-pages: needs: build-dist @@ -112,7 +112,7 @@ jobs: with: context: . file: ./Dockerfile - tags: holgerstolzenberg/cities-of-europe:latest + tags: holgerstolzenberg/european-geo-information:latest platforms: linux/amd64,linux/arm64 push: true sbom: true diff --git a/Caddyfile b/Caddyfile index ee1ba88..ae9c650 100644 --- a/Caddyfile +++ b/Caddyfile @@ -20,7 +20,7 @@ } (proxy) { - header_down X-Powered-By "Cities of Europe" + header_down X-Powered-By "European Geo Information" header_down Server "Caddy httpd" } diff --git a/Dockerfile b/Dockerfile index 6b2eb2a..93aa3b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,7 +45,7 @@ EXPOSE 2019 WORKDIR /data/caddy -ARG dist_base="./dist/cities-of-europe/browser" +ARG dist_base="./dist/european-geo-information/browser" ADD --chown=nonroot:nonroot "${dist_base}" /usr/share/html CMD ["caddy", "run", "--config", "/etc/caddy/Caddyfile", "--adapter", "caddyfile"] diff --git a/README.md b/README.md index 6d1e153..810c961 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -[![build-main-branch](https://github.com/holgerstolzenberg/cities-of-europe/actions/workflows/main-branch-build.yml/badge.svg?branch=main)](https://github.com/holgerstolzenberg/cities-of-europe/actions/workflows/main-branch-build.yml) +[![build-main-branch](https://github.com/holgerstolzenberg/european-geo-information/actions/workflows/main-branch-build.yml/badge.svg?branch=main)](https://github.com/holgerstolzenberg/european-geo-information/actions/workflows/main-branch-build.yml) -# Cities of Europe +# European Geo Information ## 🚀 Introduction @@ -22,7 +22,7 @@ ng lint ./docker-build.sh # Run docker image locally -docker run [-it] -p8080:8080 -p2019:2019 holgerstolzenberg/cities-of-europe +docker run [-it] -p8080:8080 -p2019:2019 holgerstolzenberg/european-geo-information ``` ## ✅ Open points @@ -37,7 +37,8 @@ docker run [-it] -p8080:8080 -p2019:2019 holgerstolzenberg/cities-of-europe - ☑️Slider for map pitch angle - Cross-hair on own location - Map initializing indicator -- Weather or other overlays, distance to cities +- Weather or other overlays +- Distance to capitols ## Development diff --git a/angular.json b/angular.json index cedf9cc..0065190 100644 --- a/angular.json +++ b/angular.json @@ -3,7 +3,7 @@ "version": 1, "newProjectRoot": "projects", "projects": { - "cities-of-europe": { + "european-geo-information": { "projectType": "application", "schematics": { "@schematics/angular:component": { @@ -41,7 +41,7 @@ "build": { "builder": "@angular-devkit/build-angular:application", "options": { - "outputPath": "dist/cities-of-europe", + "outputPath": "dist/european-geo-information", "index": "src/index.html", "browser": "src/main.ts", "polyfills": [ @@ -101,10 +101,10 @@ }, "configurations": { "production": { - "buildTarget": "cities-of-europe:build:production" + "buildTarget": "european-geo-information:build:production" }, "dev": { - "buildTarget": "cities-of-europe:build:dev" + "buildTarget": "european-geo-information:build:dev" } }, "defaultConfiguration": "production" @@ -112,7 +112,7 @@ "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { - "buildTarget": "cities-of-europe:build" + "buildTarget": "european-geo-information:build" } }, "lint": { diff --git a/docker-build.sh b/docker-build.sh index 9eea088..ce04e6d 100755 --- a/docker-build.sh +++ b/docker-build.sh @@ -1,3 +1,3 @@ #!/usr/bin/env bash -docker build -t holgerstolzenberg/cities-of-europe . +docker build -t holgerstolzenberg/european-geo-information . diff --git a/package-lock.json b/package-lock.json index a24b14f..5a5ac7f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "cities-of-europe", + "name": "european-geo-information", "version": "0.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "cities-of-europe", + "name": "european-geo-information", "version": "0.0.0", "dependencies": { "@angular/animations": "17.1.2", diff --git a/package.json b/package.json index 141972c..0f5e612 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "cities-of-europe", + "name": "european-geo-information", "version": "0.0.0", "scripts": { "ng": "ng", diff --git a/src/index.html b/src/index.html index b0ac15f..53aa40b 100644 --- a/src/index.html +++ b/src/index.html @@ -2,7 +2,7 @@
-