Skip to content

Setup Mac

Leon edited this page Apr 12, 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

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 deps
sudo make

Test

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

Clone this wiki locally