move frontend testing outside app directory
This commit is contained in:
parent
45a93e5a23
commit
11cd2c492f
4 changed files with 6 additions and 2 deletions
|
@ -3,8 +3,12 @@
|
||||||
## 🚀 Avvio Rapido
|
## 🚀 Avvio Rapido
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# Rendi eseguibile lo script di avvio
|
||||||
|
chmod +x start.sh
|
||||||
|
|
||||||
# Avvia tutto con un comando
|
# Avvia tutto con un comando
|
||||||
./start.sh
|
./start.sh
|
||||||
|
```
|
||||||
|
|
||||||
#Comandi utili per vedere dati db su mongosh
|
#Comandi utili per vedere dati db su mongosh
|
||||||
mongosh
|
mongosh
|
||||||
|
@ -15,4 +19,4 @@ db.items.find()
|
||||||
```
|
```
|
||||||
|
|
||||||
Il frontend sarà disponibile su http://localhost:3000
|
Il frontend sarà disponibile su http://localhost:3000
|
||||||
Il backend sarà hostato localmente su http://localhost:8000
|
Il backend sarà hostato localmente su http://localhost:8000
|
||||||
|
|
2
start.sh
2
start.sh
|
@ -80,7 +80,7 @@ sleep 3
|
||||||
|
|
||||||
# Avvia frontend
|
# Avvia frontend
|
||||||
print_status "Avvio frontend..."
|
print_status "Avvio frontend..."
|
||||||
cd app
|
cd testing
|
||||||
http-server -p 3000 -o &
|
http-server -p 3000 -o &
|
||||||
FRONTEND_PID=$!
|
FRONTEND_PID=$!
|
||||||
cd ..
|
cd ..
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue