This repository is for our website. Issues are welcomed.
The core code you need to review are placed at /server
. Please refer to /server/README.md
.
- Node.js
- Python3
- MariaDB
pip install -r requirements.txt
Including
- nltk
- numpy
- tensorflow
Besides, you need to install NLTK Corpus Wordnet according to the manual.
For example, run this command after installing the dependencies.
python -m nltk.downloader wordnet
yarn
or npm install
Due to the fact that we use MariaDB as our database, you need to import data in.
- Go to directory
/server/data/
- Log in your MariaDB
- Run
source sql.sql
We have crawled the posters needed for better user interface. Download posters.zip and unzip to/static/posters/
.
You may need to enter correct username and password to connect to MariaDB.
Config at /server/lib/db.js
.
yarn build
yarn start
or
npm run build
npm start
- The recommendation and rate forecast don't work?
Please check your python version and whether the dependencies have been installed correctly. Note that the backend calls
python
directly other thanpython3
or check the version. Can be modified in/server/lib/processor.js
.
Refer to the READNE.md
s in the folders (though only /server/
needs revision }:\).