Our project for ITU DevOps 2026
This repository has been archived on 2026-10-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Rust 52.7%
  • Python 14.8%
  • Shell 11.9%
  • Typst 6.3%
  • Makefile 4.1%
  • Other 10.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-05-18 10:38:02 +00:00
.forgejo/workflows Add report building to CI (#76) 2026-05-18 12:15:32 +02:00
db feat: migrate to postgres (#55) 2026-04-24 16:08:52 +02:00
deploy feat: migrate to postgres (#55) 2026-04-24 16:08:52 +02:00
docs Add logging with Loki and Promtail (#69) 2026-05-14 15:11:41 +02:00
monitoring Fix availability dashboard 2026-05-15 13:09:36 +02:00
report Compile report PDF [skip ci] 2026-05-18 10:38:02 +00:00
src Add logging with Loki and Promtail (#69) 2026-05-14 15:11:41 +02:00
static Initial commit 2026-01-31 16:58:41 +01:00
templates Complete rewrite with Tera for templating 2026-02-09 13:36:45 +01:00
tests ci: add UI and integration tests in pipeline (#67) 2026-05-11 19:12:16 +02:00
.gitignore ci: add SonarQube on main push (#65) 2026-05-14 12:58:11 +02:00
.mailmap added .mailmap (#56) 2026-05-08 12:49:31 +02:00
Cargo.lock Add logging with Loki and Promtail (#69) 2026-05-14 15:11:41 +02:00
Cargo.toml Add logging with Loki and Promtail (#69) 2026-05-14 15:11:41 +02:00
docker-compose-monitoring.yml Fix container dashboard 2026-05-15 13:08:07 +02:00
docker-compose.db.yml ci: add SonarQube on main push (#65) 2026-05-14 12:58:11 +02:00
docker-compose.test.yml ci: add UI and integration tests in pipeline (#67) 2026-05-11 19:12:16 +02:00
docker-compose.yml Add logging with Loki and Promtail (#69) 2026-05-14 15:11:41 +02:00
Dockerfile feat: migrate to postgres (#55) 2026-04-24 16:08:52 +02:00
Makefile Add report building to CI (#76) 2026-05-18 12:15:32 +02:00
README.md Add logging with Loki and Promtail (#69) 2026-05-14 15:11:41 +02:00
requirements.txt Add new make targets and add deploy script/guide 2026-02-27 14:50:32 +01:00
sonar-project.properties ci: add SonarQube on main push (#65) 2026-05-14 12:58:11 +02:00

ITU-MiniTwit

A micro-blogging application. Run it locally for development or deploy it to a remote server. Run make to see all available targets.


Deployment

See docs/deploying.md.

Local development

Prerequisites

Assumes Debian/Ubuntu or MacOS with GNU Make and Docker installed.

Running the server

make run   # build & start on localhost:5001
make stop  # stop & remove the app and shared database

The server listens on http://localhost:5001. A shared PostgreSQL database is used and its files are stored under db/postgres.

Testing

Tests exercise the HTTP API against a separate test server & database (PostgreSQL), which are set up and teared down automatically.

make test

Logging

See docs/logging.md.

Other utilities

flag_tool

Flags tweets in the database. (Note: currently supports SQLite, needs update for PostgreSQL)