- Clone the repo
- Make sure you have python3 and pip installed. Install required packages in
Web/requirements.txt
usingpip install -r requirements.txt
. You can also usevirtualenv
. - Install Postgres and create a new database. Fill in the corresponding credential in
Web/Web/settings.py
. - Run
python3 manage.py makemigrations
andpython3 manage.py migrate
. - Import all the necessary data in
import.sql
. The sql file is avialable in Google drive, because it is too large to fit in Git. - To get the movie posters ready, you need to download poster images from the original server and put them under
Web/static/posters
. - Run
python3 manage.py runserver 0.0.0.0:8000
to start a local server. - To run locally, you may need to comment the last three lines in
Web/settings.py
because they force the whole site to run with HTTPS. - To make the site run with HTTPS, you need to first configure Apache to run with Django. You also need to configure the certificate.
-
Follow steps 1-4 of the FrontEnd Setup
-
Install required packages in
Algorithms/requirements.txt
usingpip install -r requirements.txt
. -
Usage:
python Main.py [-h] [-algorithm [Algorithm ID]] [-movie [Movie ID]] command [file_path]