git clone [email protected]:poul-kg/mp42gif-monorepo.git
cd mp42gif-monorepo
npm install
docker swarm init
if swarm was not initialized yetdocker network create --driver overlay frontend-backend
run this once on first setupdocker stack rm mp42gif-stack
docker stack deploy -c docker-compose-swarm.yml mp42gif-stack
npm run cy:run
to run load testing
npm run serve-angular
npm run serve-express
docker-compose build
docker-compose up
docker build -t angular-app:latest -f apps/angular-app/Dockerfile .
docker build -t express-service:latest -f apps/express-service/Dockerfile .
docker tag angular-app:latest pavelkostenko/angular-app:latest
docker push pavelkostenko/angular-app:latest
- use your own username instead of
pavelkostenko
docker tag express-service:latest pavelkostenko/express-service:latest
docker push pavelkostenko/express-service:latest
ffmpeg -i input.mp4 -t 9 -c copy output.mp4