StreamingCommunity/start_gui.sh
Francesco Grazioso 306377a7be
Feat/app api and frontend (#136)
* minor fixes

* created basic django app

* add django dependency

* created basic search endpoint

* created retrieve method for search

* remove retrieve

* start implementing download endpoint (only movie for now)

* start implementing episode info for series

* finished get_episodes_info

* minor fixes

* add download anime episode

* start implementing download for tv series

* refactor methods

* finished download endpoint (will implement possibility to download single episodes of season in tv series)

* new domain and black on project

* start

* add cors

* add start gui command

* add gui for search

* edited .gitignore

* create component for media details

* better UX/UI

* edited anime episode to stream response (better experience)

* implemented UI for media details (TODO add download capabilities)

* fix poster fetching

* minor fixes

* fix cors error

* start implementing download

* fix typing on anime movies

* refactor

* refactor + add download OVA

* add plot for all anime types

* add download for all anime episodes

* add download all tv series episodes

* fix crach if localStorage is undefined

* moved download logic in separeted file

* fix wrong index passed while downloading tv series

* fix style searchbar

* add loader to search button and add enter listener while searching

* remove dependency from loading episodes to download all in anime series

* add function to download selected episodes for anime

* add sh command to kill gui

* fix messages in kill_gui.sh

* start implementing download select episodes for tv series (to be tested) + run black and eslint

* start  refactoring  to version 2.0

* start implementing preview endpoint
2024-06-01 11:59:11 +02:00

23 lines
468 B
Bash
Executable File

#!/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