Skip to content

Commit 613ff99

Browse files
authored
Setup metadata 1 (#25)
* add pagedata in donation * set autoclose to false to submit data * start with radio * add gender to schema * add hidden input for form submission * modal and form logic * separate newsletter and metadata gathering * update playwright config * clean up obsolete files * update content home and about * update FAQ * mock db during build, remove try-outs * update dockerfile and docker compose * prevent warning for cross-site * refactor: remove obsolete Python tests * refactor: clean up and set primary key
1 parent f18aac5 commit 613ff99

34 files changed

Lines changed: 418 additions & 589 deletions

.github/workflows/CI.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN yes | pnpm install --prod --frozen-lockfile
1111

1212
FROM base AS build
1313
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
14-
RUN pnpm run build
14+
RUN BUILD_MODE=true pnpm run build
1515

1616
FROM base
1717
COPY --from=prod-deps /app/node_modules /app/node_modules

docker-compose.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,20 @@ services:
1010
depends_on:
1111
- mailcom
1212
mailcom:
13-
build: .
14-
command: pnpm run start
13+
image: iulusoy/donation-webserver-frontend:latest
1514
ports:
16-
- '3000:3000'
15+
- '8000:3000'
1716
expose:
1817
- '3000'
19-
volumes:
20-
- ./src/app/frontend:/app
18+
- '3306'
19+
depends_on:
20+
- db
21+
env_file:
22+
- db.env
23+
environment:
24+
- ORIGIN=https://localhost:8443
2125
db:
22-
image: mysql:9.0.1
26+
image: mysql:9.2.0
2327
restart: always
2428
env_file:
2529
- db.env

src/app/backend/__init__.py

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/app/backend/about.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/app/backend/donate.py

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/app/backend/models.py

Lines changed: 0 additions & 103 deletions
This file was deleted.

src/app/backend/templates/about.html

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/app/backend/templates/base.html

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/app/backend/templates/donate.html

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)