Skip to content

joelgenaro/MP4-GIF-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MP4 to GIF Converter

Local Development

  1. Clone the repository
    git clone https://github.com/joelgenaro/Tom-Renneberg.git
    
  2. Install dependencies for both frontend and backend
cd backend
npm install
cd ../frontend
npm install
  1. Start the backend server
cd backend
node index.js
  1. Start the worker:
cd backend
node worker.js
  1. Start the frontend server:
cd frontend
npm start

Production Development

  1. Build the Docker images:
docker-compose build
  1. Start the services
docker-compose up -d
  1. Access the application at http://your-domain.com

Cypress Load Test

  1. Ensure the backend server is running
cd backend
node index.js
node worker.js
  1. Run the Cypress load test:
npx cypress run --spec cypress/integration/spec.cy.js

Docker Swarm Deployment

  1. Initialize Docker Swarm (if not already initialized)
docker swarm init
  1. Deploy the stack:
docker stack deploy -c docker-compose.yml mp4-to-gif
  1. Verify the services
docker service ls

About

Angular / Express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published