45 lines
728 B
Markdown
45 lines
728 B
Markdown
# Ledger
|
|
|
|
## Development
|
|
|
|
### Building locally
|
|
|
|
```shell
|
|
nix build
|
|
```
|
|
|
|
### Building dev environment
|
|
|
|
#### For ide
|
|
|
|
```shell
|
|
nix build .#development-environment
|
|
```
|
|
|
|
Then, in IntelliJ use `result/bin`
|
|
|
|
The rust source must be `/nix/store/pmih7jv9r5xfaif92bza8w05876qvnvc-rust-src/`
|
|
|
|
#### For shell
|
|
|
|
```shell
|
|
nix develop
|
|
```
|
|
|
|
## Todos
|
|
|
|
#### Architecture
|
|
|
|
* [ ] put all the ressources (migrations, templates and statics) into a ressources directory
|
|
|
|
#### Backend
|
|
|
|
* [ ] Parametrize `CURRENT_TIMESTAMP`
|
|
|
|
#### Front end
|
|
|
|
* [ ] Serve static files using actix
|
|
* [ ] Hack https://github.com/bigskysoftware/htmx/blob/master/src/ext/json-enc.js to all embedded fields.
|
|
* [ ] Create UI to create user
|
|
* [ ] Create UI to create security
|