Skip to content

swsnu/swpp2019-team19

Repository files navigation

swpp2019-team19

Build Status Quality Gate Status Coverage Status

Frontend

cd frontend
yarn install
yarn start

Backend

Before you start

  • activate your virtual environment, if you don't have virtual environment or following, install it. make sure that your python version is 3.5.x or 3.6.x for tensorflow
pip install django
pip install django-cors-headers
pip install rasa-x --extra-index-url https://pypi.rasa.com/simple
if ubuntu:
pip install mysqlclient
if mac:
pip install pymysql
  • insatll mecab-ko-dic, Check here
  • make mySQL DB Table. Check here

SNUBot

cd backend/SNUBot
bash init.sh
python manage.py runserver

Rasa

cd backend/Rasa/Rasa_eng
rasa train
mkdir logs
touch logs/rasa.log
python -m rasa run -m ./models --endpoints ./projects/endpoints.yml --port 5005 --log-file ./logs/rasa.log -vv --enable-api --cors "*"