Skip to content

pranavs6/subsearch_e

Repository files navigation

SubSearch

  • An application to upload, parse and store subtitles and query on them
  • Developed with AWS - DynamoDB, S3, CloudFront, EC2; Django; CCExtractor; Celery; Redis
  • Effectively handles concurrent task executions with Celery and Redis as a broker
arch_subs

To clone and setup stuff

  1. Clone the project: 'git clone https://github.com/pranavs6/subsearch_e.git'
  2. Open the project: cd subsearch_e
  3. Ensure the installation of CCExtractor library on your machine
  4. Ensure installation of Redis server and that it is running on 127.0.0.1:6379

To run the app with multiple windows to get live logs, follow the steps below

  1. Create a new Python virtual environment and enter into the new venv
  2. Install the python libraries by installing the requirements.txt file: 'pip install -r requirements.txt'
  3. Create a Celery worker: 'celery -A subtitle_project worker -l info --concurrency=4' Change -l (log level) and concurrency to your needs
  4. Apart from this Celery task, use tmux or open another terminal, cd into the project again
  5. Run the server: 'python manage.py runserver 0.0.0.0:8000
  6. Visit 0.0.0.0:8000 on your web browser

To run the app with a single window with log files, follow the steps below

  1. Setup the project and other dependencies: 'source setup.sh'
  2. Run the project: 'source run.sh'
  3. Visit 0.0.0.0:8000 on your web browser
  4. Kill the project: 'source kill.sh'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published