4°+5°+1° approccio (ibrido tra i precedenti)
To run in local:
- add GCP's
keyfile.json
in root directory - check for env variables (Ex: default
PROJECT_ID
isdistributed-transoder
)
local development
cd standalone && yarn start
- visit
localhost:8080
deployment
cd standalone && gcloud app deploy
gcloud app browse
local development
cd coordinator && yarn start
cd worker && yarn start
- visit
localhost:8080
deployment
cd coordinator && gcloud app deploy coordinator.yaml
cd worker && gcloud app deploy worker.yaml
gcloud app browse
incoordinator
folder
PS: per testare standalone
e worker
in locale dovrebbe bastare avere ffmpeg
installato, altrimenti si può runnare l'immagine docker (non l'ho provato così però)