Ruderassistent des Rudervereins Donau Linz https://app.rudernlinz.at
Go to file
philipp 4bb0e54635
All checks were successful
CI/CD Pipeline / test (push) Successful in 10m19s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 7m50s
Merge pull request 'update' (#703) from update into main
Reviewed-on: #703
2024-08-21 16:35:46 +02:00
.gitea/workflows fix ci 2024-05-12 22:38:25 +02:00
frontend Keep selected rowers during boat change, Fixes #48 2024-08-15 15:42:06 +02:00
src fix price 2024-08-21 16:28:13 +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 Merge pull request 'nag, if a long logentry is entered w/o trip_type; Fixes #448' (#695) from trip-type-nag into main 2024-08-19 14:36:59 +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 allow for article_titles 2024-08-18 21:46:11 +02:00
Cargo.toml allow for article_titles 2024-08-18 21:46:11 +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 create own default_destination table to remove clutter; Fixes #646 2024-08-18 20:21:59 +02:00
README.md try new badge :-) 2024-06-06 10:38:18 +02: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.sql care about einschreibgebuehr 2024-08-21 16:14:54 +02:00
staging-diff.sql migrated db 2024-05-28 11:26:22 +02:00
test_db.sh add user table 2023-03-26 14:40:56 +02:00
wordpress-notes.md proper docs; Fixes #645 2024-08-18 22:23:08 +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!
    }
}