elimc / HelloDear

ConversationalAI for romance scammers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HelloDear

ConversationalAI for romance scammers

Requirements

We need to ensure python3 and pip are installed.

For Mac/Unix:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install python
python3 -m pip install --user --upgrade pip
python3 -m pip --version

For Windows:

Install Windows Subsystem for Linux, then install Ubuntu for Windows.

Once you have that, install pip:

sudo easy_install pip

Follow the Mac/Unix steps for creating a virtual environment.

Installation of project

  1. Clone this project to a folder on your computer
  2. Open a terminal or command prompt
  3. Navigate to the folder with your requirements.txt
  4. We will need to install venv.

For Mac/Unix:

python3 -m pip install --user virtualenv
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
deactivate

For Windows (w/o Windows Subsystem for Linux):

py -m pip install --user virtualenv
py -m venv env
.\env\Scripts\activate
pip install -r requirements.txt
deactivate
  1. You are done installing the project and it's dependencies. We can deactivate now:

Working in your project

You will need to ensure you project is activated. This will allow python libraries to be run locally instead of globally. For Mac/Unix:

source env/bin/activate
which python

For Windows:

.\env\Scripts\activate
where python

To deactivate your venv for both Mac/Unix and Windows:

deactivate

Dashboard Setup

Run

py serve_dashboard.py

or

python serve_dashboard.py

depending on your OS.

About

ConversationalAI for romance scammers

License:MIT License


Languages

Language:Vue 52.9%Language:Python 35.8%Language:JavaScript 9.8%Language:HTML 1.3%Language:CSS 0.2%