Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @vite-pwa/assets-generator from 0.0.10 to 0.2.4 #97

Open
wants to merge 166 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
f08117d
Updated: Migrate strings to ffmuc
GoliathLabs May 3, 2021
bc530aa
Merge pull request #1 from MorphNetwork/master
awlx May 4, 2021
124f9e7
Update config.json.example
awlx Jun 17, 2021
511c0c1
Rename config.json.example to config.json
awlx Jun 17, 2021
39bdb95
Update config.json
awlx Jun 17, 2021
2c8974c
Update build-meshviewer.yml
awlx Jun 17, 2021
8d3d69e
Create config.json.example
awlx Jun 17, 2021
190ce71
Update config.json
awlx Jun 17, 2021
d278d69
Update config.json
awlx Jun 17, 2021
ea66022
Updated: Warnung
GoliathLabs Jun 17, 2021
92dfc2c
Updated: Message
GoliathLabs Jun 17, 2021
8f0253c
Create deploy.yml
awlx Jun 17, 2021
a051067
Update deploy.yml
awlx Jun 17, 2021
690e356
Update deploy.yml
awlx Jun 17, 2021
92baa9c
Update deploy.yml
awlx Jun 17, 2021
590e7e6
Update deploy.yml
awlx Jun 17, 2021
b5f3357
Updated: Shortened the message
GoliathLabs Jun 17, 2021
1908b0c
Update deploy.yml
awlx Jun 17, 2021
486a505
Update config.json
awlx Jun 17, 2021
9c2f410
Merge pull request #2 from GoliathLabs/patch-1
awlx Jun 17, 2021
62a00ef
Fix 24h clients
awlx Jun 17, 2021
5c5f924
Updated: String to include umlauts
GoliathLabs Jun 24, 2021
208fe1c
Merge pull request #3 from GoliathLabs/main
awlx Jun 24, 2021
af94bc8
config: swap tile Servers
herbetom Aug 6, 2021
6c87618
Use teams instead
awlx Aug 7, 2021
64b972c
Merge pull request #4 from herbetom/swapTiles
awlx Aug 7, 2021
dd1072b
Added: FFA domain
GoliathLabs Oct 18, 2021
7b0606b
Merge pull request #5 from GoliathLabs/ffa
awlx Oct 18, 2021
e8dc239
Added: dependabot
GoliathLabs Nov 1, 2021
15f5a6b
Added: newline
GoliathLabs Nov 1, 2021
dfa2a20
Removed @ sign
GoliathLabs Nov 1, 2021
826ba63
Merge pull request #6 from GoliathLabs/dependabot
awlx Nov 8, 2021
26f55a3
Added: Docker & gh-actions
GoliathLabs Feb 5, 2022
38f9be0
Added: gh-actions
GoliathLabs Feb 5, 2022
fd5dcec
Updated: master to main
GoliathLabs Feb 5, 2022
700fdf9
Added: content to dockerfile
GoliathLabs Feb 5, 2022
fbea5f0
Added: python to dockerfile
GoliathLabs Feb 5, 2022
dcb5bcf
Updated: apt-get command
GoliathLabs Feb 5, 2022
1816ebe
Added -y flag
GoliathLabs Feb 5, 2022
37cf6a0
Bump actions/setup-node from 1 to 2.5.1
dependabot[bot] Feb 5, 2022
8e4d4ab
Bump burnett01/rsync-deployments from 4.1 to 5.2
dependabot[bot] Feb 5, 2022
969d793
Create codeql-analysis.yml
GoliathLabs Feb 5, 2022
e3bcc80
Set: node version to 14
GoliathLabs Feb 5, 2022
2a2222d
Merge branch 'main' of https://github.com/GoliathLabs/meshviewer
GoliathLabs Feb 5, 2022
129a408
copy current directory
GoliathLabs Feb 5, 2022
4d63d62
Bump gulp-load-plugins from 2.0.6 to 2.0.7
dependabot[bot] Feb 5, 2022
66edb37
Remove: npm build
GoliathLabs Feb 5, 2022
2f4dcd7
Merge pull request #5 from GoliathLabs/dependabot/npm_and_yarn/gulp-l…
GoliathLabs Feb 5, 2022
7e83e33
Added: Expose port
GoliathLabs Feb 5, 2022
9d38bc4
Merge branch 'main' of https://github.com/GoliathLabs/meshviewer
GoliathLabs Feb 5, 2022
9fafd66
Updated: CMD
GoliathLabs Feb 5, 2022
fd69b61
Bump gulp-sourcemaps from 2.6.5 to 3.0.0
dependabot[bot] Feb 5, 2022
3931ee1
Added: nginx to dockerfile
GoliathLabs Feb 5, 2022
850c527
Merge pull request #7 from GoliathLabs/dependabot/npm_and_yarn/gulp-s…
GoliathLabs Feb 5, 2022
b080fd0
Bump postcss from 7.0.27 to 7.0.39
dependabot[bot] Feb 5, 2022
05b57cd
Merge pull request #8 from GoliathLabs/dependabot/npm_and_yarn/postcs…
GoliathLabs Feb 5, 2022
95968a0
Merge pull request #2 from GoliathLabs/dependabot/github_actions/burn…
GoliathLabs Feb 5, 2022
b4e7308
Merge pull request #1 from GoliathLabs/dependabot/github_actions/acti…
GoliathLabs Feb 5, 2022
4292ef3
Nimm die config!
GoliathLabs Feb 5, 2022
44ee4b7
Merge branch 'main' of https://github.com/GoliathLabs/meshviewer
GoliathLabs Feb 5, 2022
2aad645
Update: config.js to config.json
GoliathLabs Feb 5, 2022
d3d56c8
Fix path for config.json
GoliathLabs Feb 5, 2022
7a91c53
Added: locale
GoliathLabs Feb 5, 2022
b96ba38
Added: fonts
GoliathLabs Feb 5, 2022
d8e23c1
Updated: Dockerfile to copy recursively
GoliathLabs Feb 5, 2022
75dc066
Added: docker-compose.yml
GoliathLabs Feb 5, 2022
579380e
Merge pull request #25 from GoliathLabs/main
awlx Feb 5, 2022
6e89a66
Added: default sass compiler
GoliathLabs Feb 5, 2022
0ff5c4c
Updated: node version to 14 in build-meshviewer
GoliathLabs Feb 5, 2022
946ea03
Added: sass
GoliathLabs Feb 5, 2022
06a72d3
Revert "Added: sass"
GoliathLabs Feb 5, 2022
bd25e24
Revert "Updated: node version to 14 in build-meshviewer"
GoliathLabs Feb 5, 2022
b47a6b2
Revert "Added: default sass compiler"
GoliathLabs Feb 5, 2022
83afe6a
Bump copy-props from 2.0.4 to 2.0.5
dependabot[bot] Feb 6, 2022
e23fe0a
Bump lodash from 4.17.15 to 4.17.21
dependabot[bot] Feb 6, 2022
cf0722b
Merge pull request #9 from GoliathLabs/dependabot/npm_and_yarn/copy-p…
dependabot[bot] Feb 6, 2022
aae8cb4
Merge pull request #10 from GoliathLabs/dependabot/npm_and_yarn/lodas…
dependabot[bot] Feb 6, 2022
a725a57
Bump ini from 1.3.5 to 1.3.8
dependabot[bot] Feb 6, 2022
5c3edf9
Merge pull request #11 from GoliathLabs/dependabot/npm_and_yarn/ini-1…
dependabot[bot] Feb 6, 2022
d97943b
Bump hosted-git-info from 2.8.5 to 2.8.9
dependabot[bot] Feb 6, 2022
1b722f6
Bump y18n from 3.2.1 to 3.2.2
dependabot[bot] Feb 6, 2022
fd15c5b
Merge pull request #13 from GoliathLabs/dependabot/npm_and_yarn/y18n-…
GoliathLabs Feb 6, 2022
9a3d75e
Merge pull request #12 from GoliathLabs/dependabot/npm_and_yarn/hoste…
GoliathLabs Feb 6, 2022
04a1d6b
Bump ua-parser-js from 0.7.23 to 0.7.31
dependabot[bot] Feb 6, 2022
5194eb6
Merge pull request #14 from GoliathLabs/dependabot/npm_and_yarn/ua-pa…
dependabot[bot] Feb 6, 2022
696bdcb
Merge pull request #27 from GoliathLabs/main
GoliathLabs Feb 23, 2022
26c88c9
Bump actions/checkout from 2 to 3
dependabot[bot] Mar 1, 2022
b233bdb
Bump actions/setup-node from 2.5.1 to 3
dependabot[bot] Mar 1, 2022
456510c
add Unifi Fallback Domain (#30)
T0biii Mar 10, 2022
b547ded
Merge pull request #29 from freifunkMUC/dependabot/github_actions/act…
dependabot[bot] Mar 12, 2022
6483008
Merge pull request #28 from freifunkMUC/dependabot/github_actions/act…
dependabot[bot] Mar 12, 2022
a1cf1f9
Bump github/codeql-action from 1 to 2 (#33)
dependabot[bot] May 2, 2022
39b3b61
Bump docker/metadata-action from 3 to 4
dependabot[bot] Jun 1, 2022
58008fe
Bump docker/build-push-action from 2 to 3
dependabot[bot] Jun 1, 2022
751dfe7
Bump docker/login-action from 1 to 2
dependabot[bot] Jun 1, 2022
2b317a0
Bump docker/setup-buildx-action from 1 to 2
dependabot[bot] Jun 1, 2022
aa29e0e
Merge pull request #38 from freifunkMUC/dependabot/github_actions/doc…
dependabot[bot] Jun 26, 2022
b59dbc1
Merge pull request #39 from freifunkMUC/dependabot/github_actions/doc…
dependabot[bot] Jun 26, 2022
6f05f9c
Merge pull request #37 from freifunkMUC/dependabot/github_actions/doc…
dependabot[bot] Jun 26, 2022
46c015a
Bump docker/setup-qemu-action from 1 to 2
dependabot[bot] Jun 26, 2022
812fc0c
Merge pull request #36 from freifunkMUC/dependabot/github_actions/doc…
dependabot[bot] Jun 26, 2022
9265418
Merge pull request #35 from freifunkMUC/dependabot/github_actions/doc…
dependabot[bot] Jun 26, 2022
8678a7b
Update build-meshviewer.yml
GoliathLabs Sep 11, 2022
c334772
Merge remote-tracking branch 'freifunk-ffm/master'
DasSkelett Sep 11, 2022
2905c16
Run npm install & yarn import
DasSkelett Sep 11, 2022
6ed121b
Merge pull request #41 from DasSkelett/merge-freifunk-ffm-master
GoliathLabs Sep 11, 2022
f2f5b8c
Bump docker/build-push-action from 3 to 4
dependabot[bot] Feb 1, 2023
60bac4f
Bump eslint-plugin-react from 7.28.0 to 7.32.2
dependabot[bot] Feb 1, 2023
d5fdf1e
change "soon" to "now" in dreprecation warning
grische May 8, 2023
e25670d
Merge pull request #45 from freifunkMUC/dependabot/github_actions/doc…
GoliathLabs May 11, 2023
f863b90
Merge pull request #47 from freifunkMUC/dependabot/npm_and_yarn/eslin…
GoliathLabs Jun 5, 2023
9e65240
Add ffmuc_ffdon_test
DasSkelett Jul 25, 2023
d245779
Merge pull request #50 from DasSkelett/add-ffdon-test
DasSkelett Jul 25, 2023
dfab9df
Give the empty domain a name
grische Jul 25, 2023
6fe5f88
Merge pull request #51 from grische/patch-1
DasSkelett Jul 25, 2023
f146bed
Merge branch 'main' of github.com:freifunk/meshviewer into freifunk-main
awlx Nov 14, 2023
7f16865
Run prettier
awlx Nov 14, 2023
325d1bc
Update docker
awlx Nov 14, 2023
6305482
Update docker
awlx Nov 14, 2023
bbb0348
Fix this shit
awlx Nov 14, 2023
4cda370
Merge pull request #54 from freifunkMUC/freifunk-main
awlx Nov 14, 2023
bf47ddd
Fix deploy
awlx Nov 14, 2023
d36529a
Merge pull request #60 from freifunkMUC/freifunk-main
awlx Nov 14, 2023
c9027e5
Update config.json
T0biii Nov 14, 2023
3794df4
Merge pull request #61 from freifunkMUC/T0biii-patch-1
awlx Nov 14, 2023
98be379
Merge branch 'freifunk:main' into main
awlx Nov 14, 2023
70d6279
Add Wertingen domains
DasSkelett Nov 19, 2023
1654ffe
Add deprecation notice for 6M flash devices
grische Nov 28, 2023
f0719c2
Merge pull request #64 from grische/feature/filter-6m-flash-devices
awlx Nov 29, 2023
28b32ec
Add Freifunk Donau-Ries domains
grische Dec 2, 2023
e8c131b
Merge pull request #65 from grische/feature/ffdon-domains
GoliathLabs Dec 3, 2023
cf31b2a
Add deprecation notice for 8M flash devices
grische Dec 7, 2023
1f54c32
config: use bitte-router-erneuern link instead
grische Dec 8, 2023
2c99d35
fix Build Status
T0biii Nov 21, 2023
945b4c7
Merge pull request #66 from grische/feature/filter-8m-flash-devices
awlx Dec 9, 2023
c1b0c97
Merge pull request #67 from grische/fix/use-erneuern-link
GoliathLabs Dec 9, 2023
59e6945
Merge remote-tracking branch 'upstream/main'
T0biii Dec 15, 2023
ab3f119
remove Archer C7 v2 from EOL list
grische Dec 16, 2023
9730cd3
Revert "remove Archer C7 v2 from EOL list"
grische Dec 19, 2023
741b3d4
Revert "Add deprecation notice for 8M flash devices"
grische Dec 19, 2023
7e4a3cf
update config for new deprecation/eol separation
grische Dec 19, 2023
543053a
separate EOL and deprecated devices
grische Dec 14, 2023
4a8702b
config: unify and simplify domain names
grische Jan 3, 2024
2a73d30
config: rename Umland to Bayern
grische Jan 13, 2024
5c9d4f8
Merge pull request #72 from grische/feature/umland-renaming
awlx Jan 13, 2024
a9a300b
Bump docker/setup-qemu-action from 2 to 3
dependabot[bot] Jan 23, 2024
5bda39d
Bump actions/checkout from 3 to 4
dependabot[bot] Jan 23, 2024
dc0ffd0
Bump actions/setup-node from 3 to 4
dependabot[bot] Jan 23, 2024
7447c64
Bump docker/login-action from 2 to 3
dependabot[bot] Jan 23, 2024
e9d6007
Bump docker/metadata-action from 4 to 5
dependabot[bot] Jan 23, 2024
5b3a169
Merge pull request #57 from freifunkMUC/dependabot/github_actions/doc…
GoliathLabs Jan 25, 2024
0dda23c
Merge pull request #59 from freifunkMUC/dependabot/github_actions/act…
GoliathLabs Jan 25, 2024
32870aa
Merge pull request #56 from freifunkMUC/dependabot/github_actions/doc…
GoliathLabs Jan 25, 2024
463a34b
Merge pull request #55 from freifunkMUC/dependabot/github_actions/doc…
GoliathLabs Jan 25, 2024
73eb86b
Merge pull request #58 from freifunkMUC/dependabot/github_actions/act…
GoliathLabs Jan 25, 2024
0e5cc14
Bump github/codeql-action from 2 to 3
dependabot[bot] Feb 1, 2024
16ef88f
fix: Dockerfile
GoliathLabs Mar 14, 2024
1bcd398
Add configs
GoliathLabs Mar 14, 2024
bcaab12
fix: python is now python3
GoliathLabs Mar 14, 2024
9a71cff
Update Dockerfile
GoliathLabs Mar 14, 2024
cee6982
fix: use config.example.json
GoliathLabs Mar 30, 2024
1dc60c1
Merge pull request #87 from freifunkMUC/GoliathLabs-patch-1
GoliathLabs Mar 30, 2024
620aaef
feat: add ffmuc_ulm domain
GoliathLabs Apr 21, 2024
b2a6e9e
fix: ffmuc_ulm domain name
GoliathLabs Apr 21, 2024
43ecb98
Merge pull request #93 from freifunkMUC/feat--add-ffmuc_ulm-domain
GoliathLabs Apr 21, 2024
85063fc
Bump @vite-pwa/assets-generator from 0.0.10 to 0.2.4
dependabot[bot] May 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/buildkitd.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[worker.oci]
max-parallelism = 4
27 changes: 13 additions & 14 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# Docs: <https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/customizing-dependency-updates>

version: 2

updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every weekday
interval: "monthly"
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "monthly"
commit-message:
# Prefix all commit messages with "npm: "
prefix: "npm"
- package-ecosystem: npm
directory: /
schedule: { interval: monthly }
reviewers: [freifunkMUC/webseite]
assignees: [freifunkMUC/webseite]

- package-ecosystem: github-actions
directory: /
schedule: { interval: monthly }
reviewers: [freifunkMUC/webseite]
assignees: [freifunkMUC/webseite]
49 changes: 49 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Build Docker image

on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
- name: Setup Docker buildx
uses: docker/setup-buildx-action@v2
with:
config: .github/buildkitd.toml
- name: Retrieve author data
run: |
echo AUTHOR=$(curl -sSL ${{ github.event.repository.owner.url }} | jq -r '.name') >> $GITHUB_ENV
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
labels: |
org.opencontainers.image.authors=${{ env.AUTHOR }}
- name: Build Docker image
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64
push: false
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Inspect Docker image
run: docker image inspect ${{ steps.meta.outputs.tags }}
70 changes: 70 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [main]
schedule:
- cron: "30 16 * * 6"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: ["javascript"]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
31 changes: 31 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: DEPLOY
on:
push:
branches:
- main
jobs:
map-deploy:
strategy:
fail-fast: false
matrix:
target: [webfrontend03, webfrontend04, webfrontend05, webfrontend06]
node-version: [20.x]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build
- run: cp config.json build/
- name: rsync deployments
uses: burnett01/[email protected]
with:
switches: -avzr --delete --exclude .ssh
path: build/
remote_path: /srv/www/map.ffmuc.net/
remote_host: ${{ matrix.target }}.ext.ffmuc.net
remote_user: deploy-map
remote_key: ${{ secrets.DEPLOY_KEY }}
56 changes: 56 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Publish Docker image
on:
push:
branches:
- "main"
tags:
- "v*.*.*"

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
push_to_registry:
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
config: .github/buildkitd.toml
- name: Login to DockerHub
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Retrieve author data
run: |
echo AUTHOR=$(curl -sSL ${{ github.event.repository.owner.url }} | jq -r '.name') >> $GITHUB_ENV
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
labels: |
org.opencontainers.image.authors=${{ env.AUTHOR }}
- name: Build container image
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7,linux/ppc64le,linux/s390x
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
1 change: 1 addition & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @freifunkMUC/webseite
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
### Build stage for the website frontend
FROM --platform=$BUILDPLATFORM node:20-bookworm-slim as build
RUN apt-get update && \
apt-get install -y python3
WORKDIR /code
COPY . ./
RUN npm install
RUN npm run build

FROM nginx:1.25.4-alpine
COPY --from=build /code/build/ /usr/share/nginx/html
COPY --from=build /code/config.example.json /usr/share/nginx/html/
EXPOSE 80
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
# Meshviewer

[![Build Status](https://img.shields.io/github/actions/workflow/status/freifunk/meshviewer/build-meshviewer.yml?branch=main&style=flat-square)](https://github.com/freifunk/meshviewer/actions?query=workflow%3A%22Build+Meshviewer%22)
[![Release](https://img.shields.io/github/v/release/freifunk/meshviewer?style=flat-square)](https://github.com/freifunk/meshviewer/releases)
[![License: AGPL v3](https://img.shields.io/github/license/freifunk/meshviewer.svg?style=flat-square)](https://www.gnu.org/licenses/agpl-3.0)
[![Build Status](https://img.shields.io/github/actions/workflow/status/freifunkmuc/meshviewer/build-meshviewer.yml?branch=main&style=flat-square)](https://github.com/freifunkMUC/meshviewer/actions?query=workflow%3A%22Build+Meshviewer%22)
[![Release](https://img.shields.io/github/v/release/freifunkMUC/meshviewer?style=flat-square)](https://github.com/freifunkMUC/meshviewer/releases)
[![License: AGPL v3](https://img.shields.io/github/license/freifunkMUC/meshviewer.svg?style=flat-square)](https://www.gnu.org/licenses/agpl-3.0)

Meshviewer is an online visualization app to represent nodes and links on a map for Freifunk open mesh network.

** This is a fork of https://github.com/freifunkMUC/meshviewer with some adjustments **

## Installation

It is recommended to use the latest release:
This fork of the new meshviewer has a new installation method:

- Go to the [release page](https://github.com/freifunk/meshviewer/releases) and download the current build
- Go to the [release page](https://github.com/freifunkMUC/meshviewer/releases) and download the current build
- Let your webserver serve this build
- Add a config.json to the webdir (based on config.example.json)

Expand Down Expand Up @@ -53,11 +55,11 @@ docker run -it --rm --name meshviewer-dev \

The configuration documentation is nowhere near finished.

### Deprecation Warning
### Deprecation and EOL Warning

The deprecation warning can be turned of with `"deprecation_enabled": false` - but we wouldn't suggest it.
Both the deprecation and the EOL warning can be turned off with `"deprecation_enabled": false` - but we wouldn't suggest it.

You can insert your own HTML into the deprecation warning via `"deprecation_text":""`.
You can insert custom HTML into the deprecation and eol warning via `"deprecation_text":""` and `"eol_text":""` respectively.

## Development

Expand Down
1 change: 1 addition & 0 deletions config.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,6 @@
"devicePicturesLicense": "CC-BY-NC-SA 4.0",
"node_custom": "/[^a-z0-9\\-\\.]/ig",
"deprecation_text": "Hier kann ein eigener Text für die Deprecation Warning (inkl. HTML) stehen!",
"eol_text": "Hier kann ein eigener Text für die End-of-Life Warnung (inkl. HTML) stehen!",
"deprecation_enabled": true
}
Loading