File size: 399 Bytes
da21448
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash
set -euo pipefail

export NEO4J_PASSWORD="${NEO4J_PASSWORD:-techdocs-local-password}"

neo4j-admin dbms set-initial-password "$NEO4J_PASSWORD" > /dev/null 2>&1 || true
neo4j start

techdocs-index data --wait 120 --if-empty \
    || echo "Indexation initiale impossible : l'application démarre sans corpus."

exec streamlit run app.py --server.port=7860 --server.address=0.0.0.0