refactor: structure of an hexagonal architecture
Created a kernel crate to store models and future action implementations. Will be useful to create admin cli.
This commit is contained in:
parent
69af48bb62
commit
3713cc2443
87 changed files with 834 additions and 474 deletions
5
justfile
5
justfile
|
|
@ -1,11 +1,12 @@
|
|||
export RUST_BACKTRACE := "1"
|
||||
export RUST_LOG := "trace"
|
||||
export RUN_ARGS := "run --bin minauthator-server -- --config ./config.toml --database ./tmp/dbs/minauthator.db --static-assets ./assets"
|
||||
|
||||
watch-run:
|
||||
cargo-watch -x 'run -- --config ./config.toml --database ./tmp/dbs/minauthator.db --static-assets ./assets'
|
||||
cargo-watch -x "$RUN_ARGS"
|
||||
|
||||
run:
|
||||
cargo run -- --database ./tmp/dbs/minauthator.db --config ./config.toml --static-assets ./assets
|
||||
cargo $RUN_ARGS
|
||||
|
||||
docker-run:
|
||||
docker run -p 3085:8080 -v ./tmp/docker/config:/etc/minauthator -v ./tmp/docker/db:/var/lib/minauthator minauthator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue