Ruderassistent des Rudervereins Donau Linz https://app.rudernlinz.at
Go to file
philipp 3d340bf803
All checks were successful
CI/CD Pipeline / test (push) Successful in 9m27s
CI/CD Pipeline / deploy-staging (push) Successful in 6m54s
CI/CD Pipeline / deploy-main (push) Has been skipped
Merge pull request 'case-insensitive-auth' (#549) from case-insensitive-auth into staging
Reviewed-on: #549
2024-05-27 08:33:03 +02:00
.gitea/workflows fix ci 2024-05-12 22:38:25 +02:00
frontend test fails due to new sanity check (25km in 1 min :-)); started trip 2 hours ago now in tests 2024-05-22 22:28:33 +02:00
src don't care about cases for username 2024-05-27 08:32:00 +02:00
stats add stats from nginx logs 2024-04-08 23:21:35 +02:00
svelte try 2024-01-16 20:00:41 +01:00
templates better spacing 2024-05-26 18:47:09 +02:00
.dockerignore optimize ci build: use own dockerfile for dependencies + cache for builds (#164) 2024-01-17 22:56:33 +01:00
.env initial push 2023-02-08 16:25:06 +01:00
.gitignore log usage 2024-04-16 08:52:37 +02:00
Cargo.lock remove users from trip after they have read the notificatoin 2024-05-21 19:41:00 +02:00
Cargo.toml remove users from trip after they have read the notificatoin 2024-05-21 19:41:00 +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 implement first draft of switching handoperatable boats 2024-04-24 09:37:45 +02:00
migration.sql remove users from trip after they have read the notificatoin 2024-05-21 19:41:00 +02: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 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 automate schnupper mails 2024-05-22 08:30:38 +02:00
staging-diff.sql deployed :-) 2024-04-30 14:35:30 +02:00
test_db.sh add user table 2023-03-26 14:40:56 +02:00

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