Ruderassistent des Rudervereins Donau Linz
https://app.rudernlinz.at
.gitea/workflows | ||
doc | ||
frontend | ||
src | ||
stats | ||
svelte | ||
templates | ||
.dockerignore | ||
.env | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
demo_db.sh | ||
Dockerfile | ||
fd | ||
migration.sql | ||
README.md | ||
Rocket.toml | ||
rot.service | ||
rotstaging.service | ||
seeds_demo.sql | ||
seeds.sql | ||
staging-diff.sql | ||
test_db.sh |
Build
Frontend
cd frontend
npm install
npm run (watch/build)
Run
Backend
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!
}
}