Skip to content

Commit 6c89320

Browse files
authored
cleanup: update folder structure, remove obsolete files, update compose (#27)
* refactor: reorder repo, remove obsolete files * feat: update faq with latest changes * feat: update all anonym with pseudonym * refactor: set new filepath for docker build, clean up compose * refactor: clean up compose 2 * refactor: update file paths in CI * refactor: include lockfile path in node setup * refactor: remove deprecated link * refactor: fix sonarcloud issues * refactor: fix sonarcloud issues
1 parent b932a3a commit 6c89320

63 files changed

Lines changed: 105 additions & 186 deletions

Some content is hidden

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

.flake8

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

.github/task_issue.md

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

.github/workflows/frontend-CI.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,21 @@ jobs:
2929
with:
3030
node-version: 22
3131
cache: 'pnpm'
32+
cache-dependency-path: 'src/frontend/pnpm-lock.yaml'
3233

3334
- name: Install dependencies
3435
run: |
35-
cd src/app/frontend
36+
cd src/frontend
3637
pnpm install
3738
- name: run basic tests typescript
3839
run: |
39-
cd src/app/frontend
40+
cd src/frontend
4041
pnpm install
4142
pnpm run test:unit
4243
4344
- name: Install Playwright Browsers and run tests
4445
run: |
45-
cd src/app/frontend
46+
cd src/frontend
4647
# pnpm install playwright
4748
pnpm exec playwright install --with-deps
4849
pnpm test

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,7 @@ cython_debug/
163163
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
164164
#.idea/
165165

166-
!/src/app/frontend/src/lib/
166+
!/src/frontend/src/lib/
167+
/src/frontend/node_modules
168+
/src/frontend/.svelte-kit
169+
/src/frontend/build

.pre-commit-config.yaml

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

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ENV PATH="$PNPM_HOME:$PATH"
44
RUN corepack enable
55

66
WORKDIR /app
7-
COPY src/app/frontend /app
7+
COPY src/frontend /app
88

99
FROM base AS prod-deps
1010
RUN yes | pnpm install --prod --frozen-lockfile

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Inga Ulusoy
3+
Copyright (c) 2024 SSC
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 3 additions & 7 deletions

codecov.yml

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

docker-compose.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,23 @@ services:
55
- '8080:80'
66
- '8443:443'
77
volumes:
8-
- ./src/nginx/conf/:/etc/nginx/conf.d/:ro
9-
- ./src/nginx/keys/:/etc/nginx/ssl/:ro
8+
- ./nginx/conf/:/etc/nginx/conf.d/:ro
9+
- ./nginx/keys/:/etc/nginx/ssl/:ro
1010
depends_on:
1111
- mailcom
1212
mailcom:
1313
image: iulusoy/donation-webserver-frontend:latest
14+
# image: donation-webserver
1415
ports:
15-
- '8000:3000'
16+
- '3000:3000'
1617
expose:
1718
- '3000'
18-
- '3306'
1919
depends_on:
2020
- db
21-
env_file:
22-
- db.env
2321
environment:
2422
- ORIGIN=https://localhost:8443
25-
db:
23+
- BUILD_MODE=false
24+
db:
2625
image: mysql:9.2.0
2726
restart: always
2827
env_file:
@@ -37,4 +36,3 @@ services:
3736

3837
volumes:
3938
my-db:
40-

0 commit comments

Comments
 (0)