Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 1.42 KB

File metadata and controls

52 lines (40 loc) · 1.42 KB

book-recommendation-system

Requirement:

Software requirements:

If the system doesn't work as expected try installing the exact version of the software/libraries.


  • python 3 (3.6.5)
  • django (2, 0, 4, 'final', 0)
  • pandas (0.24.1)
  • numpy (1.15.0)
  • scipy (1.1.0)
  • scikit-learn (0.20.3)

Installations

pip install django

Install python, django and other libraries(use google if necessary) download and extract the repository to your desired location, go to the root folder of the project and open terminal and run the following commands and run the following commands. For Windows use python and for Linux use python3 in commands.

To setup database

python manage.py makemigrations
python manage.py migrate

Create superuser

python manage.py createsuperuser
Add the details asked

Load data(user, books, ratings)

python load_books.py data/books.csv
python load_users.py data/users.csv
python load_rating.py data/ratings.csv

Run server

python manage.py runserver

open google chrome or any browser, go to localhost:8000

Additional Info

To open admin panel go to localhost:8000/admin
Enter username and password of superuser to log in.