Ruderassistent des Rudervereins Donau Linz https://app.rudernlinz.at
Go to file
philipp 39d410b050
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m35s
CI/CD Pipeline / deploy-staging (push) Successful in 5m38s
CI/CD Pipeline / deploy-main (push) Has been skipped
only show notifications from last 2 weeks
2024-04-08 20:25:13 +02:00
.gitea/workflows
frontend keep defaults 2024-04-07 15:30:52 +02:00
src only show notifications from last 2 weeks 2024-04-08 20:25:13 +02:00
svelte try 2024-01-16 20:00:41 +01:00
templates only show notifications from last 2 weeks 2024-04-08 20:25:13 +02:00
.dockerignore
.env
.gitignore
Cargo.lock don't show duplicate boats for rennrowing 2024-04-03 18:07:20 +02:00
Cargo.toml don't show duplicate boats for rennrowing 2024-04-03 18:07:20 +02:00
db.svg
Dockerfile
migration.sql
notes.md
README.md
Rocket.toml
rot.service
rotstaging.service
seeds.sql
staging-diff.sql
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!
    }
}