Ruderassistent des Rudervereins Donau Linz https://app.rudernlinz.at
Go to file
philipp 04b09983bc
Some checks failed
CI/CD Pipeline / deploy-staging (push) Blocked by required conditions
CI/CD Pipeline / deploy-main (push) Blocked by required conditions
CI/CD Pipeline / test (push) Has been cancelled
format with djlint
2024-03-21 20:47:48 +01:00
.gitea/workflows push 2024-03-20 00:11:11 +01:00
frontend fix ci 2024-03-05 15:01:44 +01:00
src update wording 2024-03-21 19:38:47 +01:00
svelte
templates format with djlint 2024-03-21 20:47:48 +01:00
.dockerignore
.env
.gitignore
Cargo.lock update deps 2024-03-20 23:51:00 +01:00
Cargo.toml
Dockerfile
migration.sql Merge branch 'main' into notification 2024-03-20 22:21:12 +01:00
notes.md
README.md update docs 2024-03-15 09:54:36 +01:00
Rocket.toml
rot.service update docs 2024-03-15 09:54:36 +01:00
rotstaging.service update docs 2024-03-15 09:54:36 +01:00
seeds.sql add notifications; fixes #127 2024-03-20 15:56:34 +01:00
staging-diff.sql add notifications; fixes #127 2024-03-20 15:56:34 +01: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!
    }
}