Go to file
Netkas 57c4536252 Minor correction 2021-01-27 21:57:10 -05:00
.idea Added NSFW classification 2021-01-14 02:07:24 -05:00
Docker Minor correction 2021-01-27 21:57:10 -05:00
alg Added NSFW classification 2021-01-14 02:07:24 -05:00
deps Added NSFW classification 2021-01-14 02:07:24 -05:00
dltc Added NSFW classification 2021-01-14 02:07:24 -05:00
hyper_internal_service Added NSFW classification 2021-01-14 02:07:24 -05:00
mods Added NSFW classification 2021-01-14 02:07:24 -05:00
nlpfr Added NSFW classification 2021-01-14 02:07:24 -05:00
resource_fetch Added NSFW classification 2021-01-14 02:07:24 -05:00
scripts Updated warmup 2021-01-15 18:44:20 -05:00
services Updated coffeehouse_nsfw to Delete unused uploads 2021-01-16 15:45:01 -05:00
.gitignore Added CoreNLP 2021-01-08 21:43:33 -05:00
Dockerfile Updated Dockerfile 2021-01-15 18:42:23 -05:00
Makefile Exposed port 5605 2021-01-15 18:36:30 -05:00
README.md Added coffeehouse_emotions 2021-01-15 18:35:14 -05:00

README.md

CoffeeHousePy

CoffeeHousePy is the full Python implementation for CoffeeHouse, and it's server components. The Makefile contains all the setup procedures used in order to install CoffeeHousePy, and it's components onto the machine.

Prepare the system

The system must have python3.6 installed, pip and gcc. To prepare the system run the following command, this is designed to run on Ubuntu 18.04

sudo make system_prep_python system_prep_pip system_prep_gcc

Install CoffeeHousePy

Depending on the hardware, the installation procedure may take a while. To install CoffeeHousePy run the following command

sudo -H make clean build install

Services

Once CoffeeHousePy is installed, you can start it's services indvidually.

make start_langdetect # Starts the language detection server, runs on port 5606
make start_spamdetect # Starts the spam detection server, runs on port 5601
make start_translate # Starts the translation server, runs on port 5603

Services Ports

Name Protocol Port
CoffeeHouse Ping Service HTTP 5600
CoffeeHouse Spam Detection HTTP 5601
CoffeeHouse NSFW Classifier HTTP 5602
CoffeeHouse Translate HTTP 5603
CoffeeHouse CoreNLP HTTP 5604
CoffeeHouse Emotions HTTP 5605
CoffeeHouse Language Detection HTTP 5606