Skip to content

Commit f29af44

Browse files
authored
Merge pull request #593 from technologiestiftung/staging
2 parents 84738df + 7557ce6 commit f29af44

File tree

95 files changed

+3541
-4249
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+3541
-4249
lines changed

.env.sample

+10-13
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# The absolute base url
44
NEXT_PUBLIC_BASE_URL=http://localhost:3000
55

6+
# Supabase will redirect to this url after recovery
7+
NEXT_PUBLIC_RECOVERY_AUTH_REDIRECT_URL=${NEXT_PUBLIC_BASE_URL}/reset-password
8+
69
# Mapbox Credentials
710
NEXT_PUBLIC_MAPBOX_API_KEY=pk.123.xyz
811

@@ -22,23 +25,17 @@ NEXT_PUBLIC_MAP_INITIAL_LONGITUDE=13.419047
2225
NEXT_PUBLIC_MAP_INITIAL_ZOOM=11
2326
NEXT_PUBLIC_MAP_INITIAL_ZOOM_MOBILE=13
2427

25-
# Auth0
26-
NEXT_PUBLIC_AUTH0_DOMAIN=myauthzeropath.eu.auth0.com
27-
NEXT_PUBLIC_AUTH0_CLIENT_ID=7479d17d-2212-4a23-a42c-363b898dc618
28-
NEXT_PUBLIC_AUTH0_AUDIENCE=https://my-tree-api-url.io
28+
# giessdenkiez API
29+
# See https://github.com/technologiestiftung/giessdenkiez-de-postgres-api
30+
NEXT_PUBLIC_SUPABASE_URL=http://localhost:54321
31+
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
32+
NEXT_PUBLIC_API_ENDPOINT=http://localhost:8080
2933

3034
# Matomo tracking
3135
NEXT_PUBLIC_MATOMO_SITE_ID=23
3236
NEXT_PUBLIC_MATOMO_URL=https://piwik.example.com
33-
# User management
34-
# Uses the auth0 management API to create the possibility
35-
# to delete users
36-
# see https://github.com/technologiestiftung/tsb-trees-api-user-management
37-
NEXT_PUBLIC_USER_DATA_API_URL=https://my-user-management-api.io
38-
39-
# giessdenkiez API
40-
# See https://github.com/technologiestiftung/giessdenkiez-de-postgres-api
41-
NEXT_PUBLIC_API_ENDPOINT=https://localhost:8000/my-local-postgres-api
4237

38+
# The mail used to send emails to users (recovery, confirm, signup, etc)
39+
NEXT_PUBLIC_FROM_EMAIL=[email protected]
4340
# Disable NextJs telemetry
4441
NEXT_TELEMETRY_DISABLED=1

.github/workflows/test.yml

+14-8
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,26 @@
44
name: Node.js CI
55
env:
66
BUILD_TARGET: DEFAULT
7+
NEXT_PUBLIC_SUPABASE_URL: http://localhost:54321
8+
NEXT_PUBLIC_SUPABASE_ANON_KEY: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0'
79
NEXT_PUBLIC_API_ENDPOINT: https://localhost:8000/my-local-postgres-api
8-
NEXT_PUBLIC_USER_DATA_API_URL: https://my-user-management-api.io
9-
NEXT_PUBLIC_AUTH0_AUDIENCE: https://my-tree-api-url.io
10-
NEXT_PUBLIC_AUTH0_CLIENT_ID: 7479d17d-2212-4a23-a42c-363b898dc618
11-
NEXT_PUBLIC_AUTH0_DOMAIN: myauthzeropath.eu.auth0.com
10+
NEXT_PUBLIC_BASE_URL: http://localhost:3000
11+
NEXT_PUBLIC_RECOVERY_AUTH_REDIRECT_URL: http://localhost:3000/auth
12+
NEXT_TELEMETRY_DISABLED: '1'
13+
#mapbox related
1214
NEXT_PUBLIC_MAPBOX_TREES_TILESET_LAYER: layer-name-within-tileset
1315
NEXT_PUBLIC_MAPBOX_TREES_TILESET_URL: mapbox://{username}.{tilesetId}
14-
NEXT_PUBLIC_MAP_BOUNDING_BOX: 13.0824446341071,52.3281202651866,13.7682544186827,52.681600197973
1516
NEXT_PUBLIC_MAPBOX_API_KEY: pk.123.xyz
17+
# if you are not in Berlin change these below
18+
NEXT_PUBLIC_MAP_BOUNDING_BOX: 13.0824446341071,52.3281202651866,13.7682544186827,52.681600197973
19+
NEXT_PUBLIC_MAP_INITIAL_LATITUDE: 52.500869
20+
NEXT_PUBLIC_MAP_INITIAL_LONGITUDE: 13.419047
21+
NEXT_PUBLIC_MAP_INITIAL_ZOOM: 11
22+
NEXT_PUBLIC_MAP_INITIAL_ZOOM_MOBILE: 13
23+
# data generated by the harvester
1624
NEXT_PUBLIC_RAIN_DATA_URL: https://tsb-trees.s3.eu-central-1.amazonaws.com/weather_light.geojson.gz
17-
NEXT_PUBLIC_BASE_URL: http://localhost:3000
18-
NEXT_TELEMETRY_DISABLED: '1'
1925
NODE_ENV: test
26+
NEXT_PUBLIC_FROM_EMAIL: [email protected]
2027

2128
on:
2229
push:
@@ -41,7 +48,6 @@ jobs:
4148
build:
4249
runs-on: ubuntu-latest
4350
if: "!contains(github.event.head_commit.message, 'skip ci')"
44-
4551
steps:
4652
- uses: actions/checkout@v3
4753
- name: Use Node.js from .nvmrc

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,6 @@ docs/users-stats/token
131131

132132
# Local Netlify folder
133133
.netlify
134+
135+
# intellij
136+
.idea

docs/users-stats/.editorconfig

-8
This file was deleted.

docs/users-stats/.env.example

-8
This file was deleted.

docs/users-stats/.eslintignore

-2
This file was deleted.

docs/users-stats/.gitignore

-3
This file was deleted.

docs/users-stats/.vscode/settings.json

-26
This file was deleted.

docs/users-stats/README.md

-37
This file was deleted.

docs/users-stats/explorer.ts

-61
This file was deleted.

docs/users-stats/get_token.ts

-44
This file was deleted.

0 commit comments

Comments
 (0)