philipp 073b2aca04
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m27s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 5m25s
Merge pull request 'don't show external cox as cox' (#343) from staging into main
Reviewed-on: #343
2024-04-06 18:40:29 +02:00
2024-04-06 15:27:35 +02:00
2024-04-06 18:40:01 +02:00
2024-04-06 18:27:20 +02:00
2024-04-02 21:11:31 +02:00

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!
    }
}
Description
Ruderassistent des Rudervereins Donau Linz
https://app.rudernlinz.at
Readme EUPL-1.2 6.4 MiB
Languages
Rust 70.9%
TypeScript 23.1%
Svelte 2.6%
SCSS 2.2%
JavaScript 0.9%
Other 0.3%