Skip to content

Setup Mac

Leon edited this page Apr 7, 2018 · 12 revisions

Repositories

After cloning the repository, we first have to install the following dependencies:

  • Go 1.10 or newer
  • Python 3.6 or newer
  • GNU make

This can be done easily by using the terminal.

With these in place, we can install the Python dependencies by running the following commands in the root of the repository:

pip3 install -r bot\requirements.txt

Database

Then we have to create the database with the following commands:

sqlite3 eve.sqlite < db/db-script.sql
sqlite3 eve.sqlite < db/createNames.sql

Train the tensorflow models

Last but not least, the pattern model has to be trained by running the following command:

python3 -m bot train-patterns
python3 -m bot train-sentiments

Build and Compile

You can build our project with:

sudo make

Test

Then go to "http://localhost:8080/register" and have fun!

Clone this wiki locally