Ruderassistent des Rudervereins Donau Linz https://app.rudernlinz.at
Go to file
philipp 6959f71f96
All checks were successful
CI/CD Pipeline / test (push) Successful in 8m48s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped
show additional notification
2024-03-20 16:09:55 +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 show additional notification 2024-03-20 16:09:55 +01:00
svelte
templates add notifications; fixes #127 2024-03-20 15:56:34 +01:00
.dockerignore
.env
.gitignore
Cargo.lock Create admin function to use copy-pasted users from ekey, return the ones which don't match to "Donau Linz" rowt user, Fixes #204 (#230) 2024-03-04 16:59:44 +01:00
Cargo.toml Create admin function to use copy-pasted users from ekey, return the ones which don't match to "Donau Linz" rowt user, Fixes #204 (#230) 2024-03-04 16:59:44 +01:00
Dockerfile switch to new ci image 2024-02-15 12:01:28 +01:00
migration.sql add notifications; fixes #127 2024-03-20 15:56:34 +01:00
notes.md add notes 2024-01-18 15:28:51 +01:00
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!
    }
}