This is an angular app using the elasticsearch dependency to build factory based on elasticsearch queries
In order to run this example, you will need to have the following installed
To launch this app
-
Clone this repo locally
-
Install ElasticSearch:
-
an easy way:
cd ~
sudo apt-get update
sudo apt-get install openjdk-7-jre-headless -y
wget httsudops://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.1.1.deb
sudo dpkg -i elasticsearch-1.1.1.deb
sudo service elasticsearch start
-
install head (user friendly interface),
sudo /usr/share/elasticsearch/bin/plugin -install mobz/elasticsearch-head
-
http://localhost:9200/_plugin/head/
-
-
Let's insert some tweets to your ES cluster 'sudo pip install elasticsearch'
cd /data
python getTweet.py
(Be sure ES is running!) -
bower install
-
Start a local server
python -m SimpleHTTPServer
-
Visit 'localhost:8000/'
-
enjoy and tune your angular route/filter