Note: Make sure sentiment_analysis_ml_part and web_sentiment_analysis are in a single root directory.
Note: Make sure you have installed Microsoft C Build Tools before proceeding.
- Install anaconda
- In terminal, navigate to sentiment_analysis_ml_part directory in anaconda part.
- Run
conda env create -n sentiment_analysis -f ./environment.yml
- Activate the environment by running
conda activate sentiment_analysis
- Run this command
python -m spacy download en_core_web_sm
- Type in terminal
set FLASK_APP=server.py
- Then run
flask run
Note: Make sure you have installed Nodejs and MongoDB before proceeding
- Navigate to web_sentiment_analysis directory in CMD.
- Type the command
npm install
- Navigate to sentiment_analysis_ml_part directory in anaconda prompt.
- Type in terminal
set FLASK_APP=server.py
- Then run
flask run
Note: Make sure you have installed Nodejs and MongoDB before proceeding
- Navigate to web_sentiment_analysis directory in CMD.
- Type the command
npm run start
The server will start. First time will take long because the models have to be trained and saved.