diff --git a/README.md b/README.md index 0d994cc..fce9388 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,12 @@ ## 🚀 Avvio Rapido ```bash +# Rendi eseguibile lo script di avvio +chmod +x start.sh + # Avvia tutto con un comando ./start.sh +``` #Comandi utili per vedere dati db su mongosh mongosh @@ -15,4 +19,4 @@ db.items.find() ``` Il frontend sarà disponibile su http://localhost:3000 -Il backend sarà hostato localmente su http://localhost:8000 \ No newline at end of file +Il backend sarà hostato localmente su http://localhost:8000 diff --git a/start.sh b/start.sh index 5f009f7..1cca045 100755 --- a/start.sh +++ b/start.sh @@ -80,7 +80,7 @@ sleep 3 # Avvia frontend print_status "Avvio frontend..." -cd app +cd testing http-server -p 3000 -o & FRONTEND_PID=$! cd .. diff --git a/app/index.html b/testing/index.html similarity index 100% rename from app/index.html rename to testing/index.html diff --git a/app/script.js b/testing/script.js similarity index 100% rename from app/script.js rename to testing/script.js