Skip to content

inner-byte/asfinal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Powered Subtitle Generator

This project is an AI-powered subtitle generator with a Next.js frontend and Node.js backend.

Docker Setup

This project uses Docker Compose to set up the development environment. This includes:

  • Backend server (Node.js with Express)
  • Frontend client (Next.js)
  • Redis for caching

Prerequisites

  • Docker and Docker Compose installed
  • Google Cloud credentials file (for Vertex AI)

Getting Started

  1. Update the environment variables

    Edit the .env file in the root directory with your Appwrite and Google Cloud credentials.

  2. Add your Google Cloud credentials

    Place your Google Cloud credentials JSON file at server/credentials.json.

  3. Start the services

    docker-compose up

    This will start all services defined in the docker-compose.yml file.

  4. Access the applications

Development Workflow

  • The source code is mounted as volumes, so changes will be reflected immediately.
  • Both frontend and backend use hot-reloading for development.

Stopping the Services

docker-compose down

To remove volumes as well:

docker-compose down -v

Troubleshooting

Redis Connection Issues

If you're experiencing Redis connection issues, make sure:

  1. The Redis service is running: docker-compose ps
  2. The backend service is configured to connect to Redis using the service name: REDIS_HOST=redis

Container Logs

To view logs for a specific service:

docker-compose logs -f server  # For backend logs
docker-compose logs -f client  # For frontend logs
docker-compose logs -f redis   # For Redis logs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors