Python 3.3+
Make sure you are at the root of server/ directory.
cd server
python3 -m venv venv
For Windows:
python -m venv venv
For Linux/MacOS, run:
source venv/bin/activate
For Windows Powershell, run:
venv/Scripts/Activate.ps1
For Windows CMD, run:
venv/Scripts/activate.bat
Run:
pip install -r requirements.txt
Please update the requirements.txt file when you add a new package
Run pip freeze and copy the content of the output to the requirements.txt file
Run the download script to download the datasets zip file.
Run:
python data/download.py
Or
python data/download.py small
Downloads the small datasets file, ml-latest-small.zip (1MB)
python data/download.py large
Downloads the large datasets file ml-latest.zip (256MB)