mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-07 03:55:24 +00:00
add start gui command
This commit is contained in:
parent
7bc2758ee2
commit
85c04937fa
23
start_gui.sh
Executable file
23
start_gui.sh
Executable file
@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Installa i pacchetti Python
|
||||
echo "Installazione dei pacchetti Python..."
|
||||
pip install -r requirements.txt
|
||||
|
||||
# Installa i pacchetti npm
|
||||
echo "Installazione dei pacchetti npm..."
|
||||
cd frontend
|
||||
npm install
|
||||
cd ..
|
||||
|
||||
# Avvia il backend Django
|
||||
echo "Avvio del backend Django..."
|
||||
python3.11 api/manage.py runserver &
|
||||
|
||||
# Avvia il frontend Vue.js con Vite
|
||||
echo "Avvio del frontend Vue.js con Vite..."
|
||||
cd frontend
|
||||
npm run dev &
|
||||
|
||||
# Attendi l'esecuzione dei processi
|
||||
wait
|
Loading…
x
Reference in New Issue
Block a user