Gros refactoring
This commit is contained in:
parent
6008aa68f6
commit
4a6bfc951f
368 changed files with 22503 additions and 3 deletions
19
frontend/run.sh
Normal file
19
frontend/run.sh
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Script pour lancer l'application Streamlit FabriqueDoc localement
|
||||
# Ce script fonctionne sur macOS et Linux
|
||||
|
||||
# Définir l'adresse du backend
|
||||
export FABRIQUEDOC_ENDPOINT="http://localhost:8000"
|
||||
|
||||
# Vérifier si Streamlit est installé
|
||||
if ! command -v streamlit &> /dev/null; then
|
||||
echo "Streamlit n'est pas installé. Veuillez l'installer en utilisant 'pip install streamlit'."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Lancer l'application Streamlit
|
||||
echo "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