https://mimalyzer.indoorvivants.com/
Quickly verify whether the change you're about to make is binary compatible in Scala and tasty-compatible in Scala 3.
This is a full stack Scala project, using sbt build tool.
- JDK, sbt, Node.js, and npm must be installed and available
- Run
npm installin ./frontend - Have Postgres running on
localhost:5432with userpostgreshaving empty password, andmimalyzerdatabase pre-created. Alternatively usePG_*variables (in PgCredentials.scala to control connection to postgres.
The frontend development server and backend are intended to be started separately:
- For frontend development, run
frontend/reStartsbt command to start Vite development server, then run~frontend/fastLinkJSin sbt shell to continuously re-link the frontend code. - For backend development, run
~backend/reStartto continuously restart the backend API server (by default it binds to port 9977, which is what Vite frontend expects) - For API/protocol development, modify
*.smithyfiles – when backend restarts the protocol code gets regenerated.
Mimalyzer is deployed using a docker container which builds it from scratch, so docker build . -t mimalyzer will give you a working mimalyzer instance (assuming connection to postgres is available).
To quickly run locally, run docker compose up.