feat: restructure project, implement askama templating #26
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -2920,7 +2920,7 @@ dependencies = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "sesame-vitale"
|
name = "sesam-vitale"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
resolver = "2"
|
resolver = "2"
|
||||||
members = [
|
members = [
|
||||||
florian_briand marked this conversation as resolved
|
|||||||
"crates/app",
|
"crates/app",
|
||||||
"crates/sesame-vitale",
|
"crates/sesam-vitale",
|
||||||
"crates/desktop"
|
"crates/desktop"
|
||||||
]
|
]
|
||||||
|
15
README.md
15
README.md
@ -4,30 +4,31 @@ Logiciel de Pharmacie libre et open-source.
|
|||||||
|
|
||||||
## Crates
|
## Crates
|
||||||
|
|
||||||
- `clego`: Axum backend lib for tauri client. Can be used as a lib or started as a web server.
|
- `app`: Endpoint Axum qui peut aussi être utilisé en tant que librairie. Renvoie l'interface du logiciel de pharmacie en HTML.
|
||||||
- `tauri`: Tauri app for desktop client.
|
- `desktop`: Application Tauri qui intègre l'application Axum.
|
||||||
|
- `sesam-vitale`: Moteur de facturation SESAM-VITALE.
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
Install
|
### Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo install tauri-cli
|
cargo install tauri-cli
|
||||||
```
|
```
|
||||||
|
|
||||||
Run desktop client app
|
### Exécution de l'application cliente desktop
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo tauri dev
|
cargo tauri dev
|
||||||
```
|
```
|
||||||
|
|
||||||
Run clego endpoint
|
### Exécution de l'endpoint `app`
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo run --bin clego
|
cargo run --bin app
|
||||||
```
|
```
|
||||||
|
|
||||||
Bundle desktop client app
|
### Création du bundle de l'application cliente desktop
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo tauri build
|
cargo tauri build
|
||||||
|
@ -6,7 +6,7 @@ authors = ["p4pillon"]
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "pharmacie_desktop_lib"
|
name = "desktop_lib"
|
||||||
crate-type = ["lib", "cdylib", "staticlib"]
|
crate-type = ["lib", "cdylib", "staticlib"]
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "sesame-vitale"
|
name = "sesam-vitale"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user
Packages :
tauri/src
devientcrates/app
-> Interfaces et code métier via Axum + Askama + HTMxtauri/src-tauri
devientcrates/desktop
clego
devientcrates/sesam-vitale