A web application for information retrieval, aspect extraction, and aspect-based sentiment analysis on Steam review data of multiple games.
- Python 3
- Node.js
- PNPM
-
Enter the backend directory
cd be
-
Setup virtual environment
python -m venv .venv
-
Activate virtual environment
On Windows:
. .venv/Scripts/activate
On Linux:
. .venv/bin/activate
-
Install requirements
pip install wheel pip install hug waitress nltk scikit-learn spacy pandas numpy textblob python -m spacy download en_core_web_sm
-
(Optional) Set Visual Studio Code interpreter for development
In the editor, when opening a Python file, set the interpreter to the virtual environment one by clicking the Python version number on the bottom right, selecting
Enter interpreter path...
and locating the Python interpreter at./be/.venv/bin/python3
. -
Prepare engine database
python main.py prepare
-
Start backend server
Development w/ Hot Reload:
hug -f main.py
Production:
waitress-serve --port=8000 main:__hug_wsgi__
-
Enter the frontend directory
cd fe
-
Install Node.js dependencies with PNPM
pnpm install
-
Start frontend server
Development w/ Hot Reload:
pnpm dev
Production:
pnpm start