Gros refactoring
This commit is contained in:
parent
6008aa68f6
commit
4a6bfc951f
368 changed files with 22503 additions and 3 deletions
17
frontend/run.ps1
Normal file
17
frontend/run.ps1
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Script pour lancer l'application Streamlit FabriqueDoc localement
|
||||
# Ce script fonctionne sur Windows
|
||||
|
||||
# Définir l'adresse du backend
|
||||
$env:FABRIQUEDOC_ENDPOINT = "http://localhost:8000"
|
||||
|
||||
# Vérifier si Streamlit est installé
|
||||
if (!(Get-Command streamlit -ErrorAction SilentlyContinue)) {
|
||||
Write-Host "Streamlit n'est pas installé. Veuillez l'installer en utilisant 'pip install streamlit'."
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Lancer l'application Streamlit
|
||||
Write-Host "Lancement de l'application Streamlit FabriqueDoc..."
|
||||
streamlit run main.py --server.port=8051
|
||||
|
||||
# Note : Si le port 8051 est déjà utilisé, vous pouvez le changer pour un autre port
|
Loading…
Add table
Add a link
Reference in a new issue