Ruderassistent des Rudervereins Donau Linz https://app.rudernlinz.at
Go to file
philipp 830aa58e7b
All checks were successful
CI/CD Pipeline / test (push) Successful in 10m7s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 5m37s
Merge pull request 'don't allow to delete an event if someone is registered' (#514) from deletion-event-only-ok-noone-registered into main
Reviewed-on: #514
2024-05-21 18:44:54 +02:00
.gitea/workflows fix ci 2024-05-12 22:38:25 +02:00
frontend don't use default distance of 11; don't overwrite distance if already entered 2024-04-30 21:21:01 +02:00
src inform user in case event can't be deleted 2024-05-21 18:34:17 +02:00
stats
svelte
templates [TASK] change layout imprint 2024-05-17 13:44:09 +02:00
.dockerignore
.env
.gitignore
Cargo.lock show waterlevel for the next days 2024-04-30 11:59:33 +02:00
Cargo.toml show waterlevel for the next days 2024-04-30 11:59:33 +02:00
db.svg
Dockerfile
fd
migration.sql add weather infos 2024-05-16 14:41:15 +02:00
notes.md
README.md
Rocket.toml add weather infos 2024-05-16 14:41:15 +02:00
rot.service
rotstaging.service
seeds.sql
staging-diff.sql deployed :-) 2024-04-30 14:35:30 +02:00
test_db.sh

Build

Frontend

  1. cd frontend
  2. npm install
  3. npm run (watch/build)

Run

Backend

  1. cargo r

Test

Frontend

  • npx playwright test --workers 1 --project firefox
  • Nice UI: --ui
  • Generate tests: npx playwright codegen

Backend (Unit + Integration)

cargo t

Lints

  • Rust: cargo check
  • Tera files: djlint **.html.tera --profile=jinja --reformat
  • Typescript: prettier -w *.ts

Dependencies

  • sqlite3
  • rust

Nginx config

server {
    server_name staging.rudernlinz.at;
    location / {
        proxy_pass http://localhost:7999/; # The / is important!
    }
}

server {
    server_name app.rudernlinz.at;
    location / {
        proxy_pass http://localhost:8001/; # The / is important!
    }
}