Ruderassistent des Rudervereins Donau Linz https://app.rudernlinz.at
Go to file
philipp 073f5aed0c
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m3s
CI/CD Pipeline / deploy-staging (push) Successful in 6m21s
CI/CD Pipeline / deploy-main (push) Has been skipped
Merge pull request 'marie-magic' (#500) from marie-magic into staging
Reviewed-on: #500
2024-05-16 22:46:39 +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 remove unused imports 2024-05-16 22:37:57 +02:00
stats
svelte
templates better layout 2024-05-16 22:35:26 +02:00
.dockerignore
.env
.gitignore log usage 2024-04-16 08:52:37 +02:00
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 use new docker image 2024-04-19 12:27:06 +02:00
fd implement first draft of switching handoperatable boats 2024-04-24 09:37:45 +02:00
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 add required role 2024-04-14 18:27:21 +02:00
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!
    }
}