Skip to content

Commit

Permalink
Rename project to "european-geo-information"
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerstolzenberg committed Mar 9, 2024
1 parent 1eac875 commit c3386ed
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/feature-branch-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
6 changes: 3 additions & 3 deletions .github/workflows/main-branch-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Expand All @@ -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

Expand Down
10 changes: 5 additions & 5 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": 1,
"newProjectRoot": "projects",
"projects": {
"cities-of-europe": {
"european-geo-information": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -101,18 +101,18 @@
},
"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"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "cities-of-europe:build"
"buildTarget": "european-geo-information:build"
}
},
"lint": {
Expand Down
2 changes: 1 addition & 1 deletion docker-build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash

docker build -t holgerstolzenberg/cities-of-europe .
docker build -t holgerstolzenberg/european-geo-information .
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "cities-of-europe",
"name": "european-geo-information",
"version": "0.0.0",
"scripts": {
"ng": "ng",
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>Cities of Europe</title>
<title>European Geo Information</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
Expand Down

0 comments on commit c3386ed

Please sign in to comment.