Ruderassistent des Rudervereins Donau Linz https://app.rudernlinz.at
Go to file
philipp faa8e6a13b
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m21s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 5m1s
Merge pull request 'fix ci' (#355) from staging into main
Reviewed-on: #355
2024-04-09 08:08:11 +02:00
.gitea/workflows push 2024-03-20 00:11:11 +01:00
frontend keep defaults 2024-04-07 15:30:52 +02:00
src fix ci 2024-04-09 08:07:56 +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 only show notifications from last 2 weeks 2024-04-08 20:25:13 +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 show own data + add gitignore folder 2023-11-02 13:17:33 +01:00
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 add db pic, created with sqleton 2024-03-22 20:48:04 +01:00
Dockerfile switch to new ci image 2024-02-15 12:01:28 +01:00
migration.sql reservations 2024-03-30 01:36:37 +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 add mail 2024-01-01 15:50:06 +01: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 notification (#282) 2024-03-20 16:19:12 +01:00
staging-diff.sql deployed :-) 2024-04-02 21:11:31 +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!
    }
}