Elixir Phoenix App built and tested via nix flakes for NextGear Motors
.
It should be noted that this repository uses a CC BY-NC-SA 4.0 License, hence non authorised commercial uses are not allowed. However, for much of the nix code an MIT Licensed version exists which may be used and referenced.
Detailed patch notes can be found by reading the releases tab.
All development takes place through nix for reproducible builds cross systems.
The development server for this codebase can be started with nix run .#mprocs
, which starts the following:
- A live reloading phoenix server for web development
- An incremental unit test runner
- A local Postgres server
- A live reloading documentation server
All tests for this repository can be run at once with nix flake check
which will handle correct sandboxing and creation of temporary databases in which to run the tests.
This repository has a treefmt-nix configuration for formatting hence to format the repository one may run nix fmt
.
The isFormatted
check ensures in CI that the code for the repository must be formatted