-
Make sure you have a Python 3.6+ environment
-
Install mongodb and import all json files in Server/moviedb_setup
mongoimport --db comp9900moviedb --collection “file_name” --type csv --file “file_name”
- install all packages:
pip3 install requirements.txt
- create virtualenv :
virtualenv venv
5.activate virtualenv :
source venv/bin/activate
- run setup_nltk.py to download nltk packages:
python3 setup_nltk
- back to Server dir and start server:
flask run
-
Modify the spotify username in music_player.py and lifx bulb token in light_control.py to control your own light and music app.
-
Restore the agent in dialogflow use the zip file in dialogflow folder
-
Download Xcode 10.2, update your iOS version to
12.2
, Plug your phone on the MacBook, make sure you have a Spotify app in your phone. Open the iOS/RelaxBot dictionary then clickRelaxBot.xcworkspace
-
Modify the Server Address named
kServerUrl
to your own local address iniOS/Utilities/Config.h
and keep the port is same as server. -
Select your device and click run to run the app on your phone.
we also deployed our server on AWS server, the Ip address is 13.210.181.96