The project is divided in 4 folders. All the folders convey to the 'src' folder where the HTML index is located.
- DataSources: Crawling of twitter and foursquare. DBpedia annotation process of tweets.
- Elasticsearch: Indexing of the data
- Recommender System: Graphlab implementation of the recommendation system and text analysis for topic venues.
- src: Here you will find the main login for the recommendation with human explanation web app
This web-app was tested with:
- Ubuntu 16.04 LTS
- Elasticsearch 5.2.1
- Elasticsearch JS lib (Already inside /src/lib)
cd /src
sudo python -m SimplHTTPServer 80
Becasue we found some irregularities in the JS Elasticsearch lib is necesary to do the next changes in the configuration file of your eleastisearch server.
cd $ELASTICSEARCH_PATH/elasticsearch-5.2.1/config
nano elasticsearch.yml
Add next lines of code at the end of elasticsearch.yml file. This will allow HTTP access from your browser to the elasticsearch local server
http.cors:
enabled: true
allow-origin: /https?:\/\/localhost(:[0-9]+)?/