sdl60660 / letterboxd_recommendations

Scraping publicly-accessible Letterboxd data and creating a movie recommendation model with it that can generate recommendations when provided with a Letterboxd username
https://bit.ly/movie-recs-letterboxd
GNU General Public License v3.0
263 stars 18 forks source link

Docker Integration, Refactoring, and Local Testing Updates #17

Closed pedromdpereira closed 10 months ago

pedromdpereira commented 1 year ago

Hey Sam,

Great job on this repo! 👍 I've been working on running a local version and noticed your suggestion to employ Docker, which seemed spot on.

The Docker Compose file now sets up the MongoDB instance, the UI, the Redis instance, and transfers files from the repo to a Docker image to support the worker and main app.

Moreover, I've refactored the get_user_ratings function to use the connect_db_function like the rest of the codebase.

In the main app, I've included localhost:8000 (the exposed port on the Docker container). To test this locally, simply comment out your RedirectResponse statement and uncomment the other two below.

Would appreciate your review!

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
letterboxd-recommendations ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 25, 2023 0:21am
pedromdpereira commented 1 year ago

Looks like there's an error with the deployment. Initially, I thought it might have been due to changes in get_user_ratings, so I attempted to revert it. However, the deployment still isn't functioning properly. Could you take a look at the logs and help identify the issue? Thanks!