Skip to content

cosmic-hash/Smart-Schedule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Schedule

Smart Schedule is a tool that automates event scheduling by processing images, voice recordings, and text to extract event details and sync them with Google Calendar.

Installation Instructions

# UI
cd UI_SmartSchedule
npm install
npm run dev

# Backend Setup

cd Backend_SmartSchedule
python3.11 -m venv venv
source venv/bin/activate  # For Linux/Mac
venv\Scripts\activate     # For Windows
pip install -r requirements.txt
flask run


#Install Required Tools

brew install tesseract
brew install ffmpeg
brew install redis

# Using Docker

#Run Redis Container on a Different Port to Avoid Conflicts

docker run --name redis-container -d -p 6378:6379 redis:latest

# Run RabbitMQ 
docker run --name rabbitmq-container -d -p 5673:5672 -p 15673:15672 rabbitmq:management


#Backend Container
cd Backend_SmartSchedule
docker build -t backend-smart-schedule .
docker run --name backend-container -d -p 6161:6161 --env-file .env backend-smart-schedule

# Frontend Container
cd ../UI_SmartSchedule
docker build -t frontend-smart-schedule .
docker run --name frontend-container -d -p 5173:5173 frontend-smart-schedule

# Docker Commands for Logs and Status
docker ps
docker logs backend-container
docker logs frontend-container

#Kubernetes Deployment
#Apply Kubernetes Configuration Files
kubectl apply -f backend-deployment.yaml
kubectl apply -f frontend-deployment.yaml
kubectl apply -f redis-deployment.yaml
kubectl apply -f redis-service.yaml
kubectl apply -f rabbitmq-deployment.yaml

#Check Deployment Status
kubectl get pods
kubectl get services

For more details, refer to the DEPLOYMENT.md file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors