2024-07-01 22:22:50 +02:00
|
|
|
# Krys4lide
|
|
|
|
|
2024-07-23 20:08:45 +02:00
|
|
|
Logiciel de Pharmacie libre et open-source.
|
|
|
|
|
|
|
|
## Crates
|
|
|
|
|
2024-07-24 22:15:53 +02:00
|
|
|
- `app`: Endpoint Axum qui peut aussi être utilisé en tant que librairie. Renvoie l'interface du logiciel de pharmacie en HTML.
|
|
|
|
- `desktop`: Application Tauri qui intègre l'application Axum.
|
|
|
|
- `sesam-vitale`: Moteur de facturation SESAM-VITALE.
|
2024-07-23 20:08:45 +02:00
|
|
|
|
|
|
|
## Development
|
|
|
|
|
2024-07-24 22:15:53 +02:00
|
|
|
### Installation
|
2024-07-23 20:08:45 +02:00
|
|
|
|
|
|
|
```bash
|
|
|
|
cargo install tauri-cli
|
|
|
|
```
|
|
|
|
|
2024-07-24 22:15:53 +02:00
|
|
|
### Exécution de l'application cliente desktop
|
2024-07-23 20:08:45 +02:00
|
|
|
|
|
|
|
```bash
|
|
|
|
cargo tauri dev
|
|
|
|
```
|
|
|
|
|
2024-07-24 22:15:53 +02:00
|
|
|
### Exécution de l'endpoint `app`
|
2024-07-23 20:08:45 +02:00
|
|
|
|
|
|
|
```bash
|
2024-07-24 22:15:53 +02:00
|
|
|
cargo run --bin app
|
2024-07-23 20:08:45 +02:00
|
|
|
```
|
|
|
|
|
2024-07-24 22:15:53 +02:00
|
|
|
### Création du bundle de l'application cliente desktop
|
2024-07-23 20:08:45 +02:00
|
|
|
|
|
|
|
```bash
|
|
|
|
cargo tauri build
|
|
|
|
```
|