Ruderassistent des Rudervereins Donau Linz https://app.rudernlinz.at
Go to file
philipp e55f380c4f
Some checks failed
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled
CI/CD Pipeline / test (push) Has been cancelled
be able to auto populate people from planned trip
2024-08-13 23:02:34 +02:00
.gitea/workflows fix ci 2024-05-12 22:38:25 +02:00
frontend be able to auto populate people from planned trip 2024-08-13 23:02:34 +02:00
src be able to auto populate people from planned trip 2024-08-13 23:02:34 +02:00
stats add stats from nginx logs 2024-04-08 23:21:35 +02:00
svelte
templates be able to auto populate people from planned trip 2024-08-13 23:02:34 +02:00
.dockerignore
.env
.gitignore log usage 2024-04-16 08:52:37 +02:00
Cargo.lock update deps 2024-06-27 07:58:30 +02:00
Cargo.toml update deps 2024-06-05 14:57:28 +02:00
db.svg add db pic, created with sqleton 2024-03-22 20:48:04 +01:00
Dockerfile use new docker image 2024-04-19 12:27:06 +02:00
fd allow admins to delete logbook entries 2024-08-12 20:55:31 +02:00
migration.sql fix migration 2024-06-16 20:00:44 +02:00
notes.md add notes 2024-01-18 15:28:51 +01:00
README.md try new badge :-) 2024-06-06 10:38:18 +02:00
Rocket.toml add weather infos 2024-05-16 14:41:15 +02:00
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 fix error, where log entries can't be added with boats with only steering 2024-07-13 19:58:13 +01:00
staging-diff.sql merged :-) 2024-06-10 19:59:39 +02:00
test_db.sh

latest CI run on main

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!
    }
}