Ruderassistent des Rudervereins Donau Linz https://app.rudernlinz.at
Go to file
Philipp Hofer 4a200327a6
Some checks failed
CI/CD Pipeline / test (push) Has been cancelled
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled
update ci
2024-12-05 10:22:45 +01:00
.gitea/workflows update ci 2024-12-05 10:22:45 +01:00
doc Revert "adapt to new domain" 2024-11-27 08:20:54 +01:00
frontend Revert "adapt to new domain" 2024-11-27 08:20:54 +01:00
src Revert "adapt to new domain" 2024-11-27 08:20:54 +01: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 Revert "adapt to new domain" 2024-11-27 08:20:54 +01: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 update deps 2024-09-02 22:03:40 +03:00
Cargo.toml allow for article_titles 2024-08-18 21:46:11 +02:00
demo_db.sh add demo db for ruad.at 2024-11-30 22:32:15 +01:00
fd allow admins to delete logbook entries 2024-08-12 20:55:31 +02:00
migration.sql user-role-cluster (#761) 2024-10-11 12:39:23 +02:00
README.md Revert "adapt to new domain" 2024-11-27 08:20:54 +01:00
Rocket.toml styling 2024-08-19 11:57:51 +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_demo.sql add demo db for ruad.at 2024-11-30 22:32:15 +01:00
seeds.sql only allow people with access rights to login via wordpress 2024-10-13 14:51:11 +02:00
staging-diff.sql merged :-) 2024-10-14 08:34:02 +02:00
test_db.sh add user table 2023-03-26 14:40:56 +02:00

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