Dong34 / SI699

SI699 Capstone Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instruction on running this program

git clone https://github.com/Dong34/SI699.git
cd SI699
cd backend
python3 app.py

Then open a new console, and do

cd frontend
npm start

To run this program on your own server, you need:

AWS

Launch a EC2 instance (type: xlarge) at AWS

Install python env

wget https://bootstrap.pypa.io/get-pip.py
python3 -m pip install pandas
python3 -m pip install Flask

Install packages

python3 -m pip install pandas numpy Flask 
python3 -m pip install -U scikit-learn
python3 -m pip install nltk
python3 -m pip install seaborn
python3 -m pip install matplotlib
python3 -m pip install mysql-connector-python 
sudo apt-get update
sudo apt-get install redis
python3 -m pip install redis
nltk.download('wordnet')

Set mysql database

sudo apt install mysql-server
sudo systemctl start mysql.service
sudo mysql -u root -p (No password)
CREATE USER ‘si699’@‘localhost’ IDENTIFIED BY ‘SI699_password’;
CREATE USER ‘si699_remote’@‘%’ IDENTIFIED BY ‘SI699_password’;
GRANT ALL ON *.* TO ‘si699’@‘localhost’;
GRANT ALL ON *.* TO ‘si699_remote’@‘%’;
FLUSH PRIVILEGES;
CREATE DATABASE si699_db;

Install npm

sudo apt install npm (after git clone)
cd frontend
npm install

About

SI699 Capstone Project


Languages

Language:Jupyter Notebook 82.8%Language:JavaScript 11.4%Language:Python 4.5%Language:HTML 0.9%Language:CSS 0.5%