Ruderassistent des Rudervereins Donau Linz https://app.rudernlinz.at
Go to file
philipp 151e1b7864
All checks were successful
CI/CD Pipeline / test (push) Successful in 12m41s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 5m32s
Merge pull request 'show steering person in logs if not cox' (#376) from show-steering-person-in-logs into main
Reviewed-on: #376
2024-04-15 22:04:14 +02:00
.gitea/workflows
frontend fix tests (proper timezone), proper spacing 2024-04-15 21:32:16 +02:00
src show notification to vorstand if boat entry with 'externes boot' or on multiple days is entered 2024-04-15 22:03:20 +02:00
stats add stats from nginx logs 2024-04-08 23:21:35 +02:00
svelte
templates fix tests (proper timezone), proper spacing 2024-04-15 21:32:16 +02:00
.dockerignore
.env
.gitignore
Cargo.lock update deps 2024-04-09 11:24:38 +02:00
Cargo.toml update deps 2024-04-09 11:24:38 +02:00
db.svg add db pic, created with sqleton 2024-03-22 20:48:04 +01:00
Dockerfile
migration.sql reservations 2024-03-30 01:36:37 +01:00
notes.md
README.md
Rocket.toml
rot.service
rotstaging.service
seeds.sql add required role 2024-04-14 18:27:21 +02:00
staging-diff.sql have test users only @ staging 2024-04-14 16:59:17 +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!
    }
}