-
Notifications
You must be signed in to change notification settings - Fork 1
Setup Mac
Leon edited this page Apr 7, 2018
·
12 revisions
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
Then we have to create the database with the following commands:
sqlite3 eve.sqlite < db/db-script.sql
sqlite3 eve.sqlite < db/createNames.sql
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
You can build our project with:
sudo make
Then go to "http://localhost:8080/register" and have fun!