Skip to content

Azim04/Movie_Recommendation_System

Repository files navigation

Movie Recommendation System

Hey viewer !
The project is a Movie Recommendation System developed in Django.
It uses the Kaggle dataset of movies.
Once you select a movie, the platform will recommend you the movie consisting of the same Genre as that of the selected movie.
It also uses a search box, that makes it easier to search for the movie that you wish to search for.
Feel free to download this project !

Install Python on your system

Download python from https://www.python.org/downloads/
Please refer to the original documentation of python at https://docs.python.org/3/

Install Django in the system

Once python is downloaded and successfully installed in the system, install Django in your system by running the following command:

pip install django

Refer to the Django documentation --> https://docs.djangoproject.com/en/5.1/

Clone the project

Run the following command in the terminal:

git clone https://github.com/Azim04/Movie_Recommendation_System.git

Once the project is cloned, open it in any code editor (Pycharm is preferred)
Run the following commands in terminal of the same directory which contains manage.py file

python manage.py makemigrations

python manage.py migrate 

python manage.py runserver

Once the server is initiated, you can access the project in your local browser at http://localhost:8000

Containerizing using Docker

In order to containerize the application, install Docker

Windows:

Download Docker Desktop https://www.docker.com/products/docker-desktop/

Linux & Mac

Download docker from command line:

sudo apt install docker.io

Containerize

Once Docker is successfully installed in the system, navigate into the project where Dockerfile is located
In the terminal, run the following command to build a Docker Image:

docker build . -t movie_recommendation_system

Once the image is created, verify it using the command:

docker images

After the image is created, run the container in detached mode on port 8000 using the above built image:

docker run -d -p 8000:8000 movie_recommendation_system

Verify whether the container is running:

docker ps 

Once, the container is running, access the website on http://your-device-ip:8000

About

Movie_Recommendation_System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published