mirror of https://github.com/CIRCL/AIL-framework
Merge pull request #10 from adulau/master
Whoosh requirements added for Indexer modulespull/11/head
commit
12dd16daf9
|
@ -75,6 +75,7 @@ pip install python-magic
|
||||||
pip install numpy
|
pip install numpy
|
||||||
pip install flask
|
pip install flask
|
||||||
pip install nltk
|
pip install nltk
|
||||||
|
pip install whoosh
|
||||||
pip install matplotlib ----- (sudo ln -s freetype2/ft2build.h in /usr/include/)
|
pip install matplotlib ----- (sudo ln -s freetype2/ft2build.h in /usr/include/)
|
||||||
pip install pybloomfiltermmap ----- (you may need to sudo apt-get install libssl-dev)
|
pip install pybloomfiltermmap ----- (you may need to sudo apt-get install libssl-dev)
|
||||||
```
|
```
|
||||||
|
|
|
@ -45,7 +45,7 @@ function helptext {
|
||||||
}
|
}
|
||||||
|
|
||||||
function launching_redis {
|
function launching_redis {
|
||||||
conf_dir='/home/user/AIL/configs/'
|
conf_dir='/home/user/AIL-framework/configs/'
|
||||||
|
|
||||||
screen -dmS "Redis"
|
screen -dmS "Redis"
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
|
@ -60,7 +60,7 @@ function launching_redis {
|
||||||
function launching_lvldb {
|
function launching_lvldb {
|
||||||
#Want to launch more level_db?
|
#Want to launch more level_db?
|
||||||
lvdbhost='127.0.0.1'
|
lvdbhost='127.0.0.1'
|
||||||
lvdbdir='/home/user/LEVEL_DB_DATA/'
|
lvdbdir='/home/user/AIL-framework/LEVEL_DB_DATA/'
|
||||||
db1_y='2013'
|
db1_y='2013'
|
||||||
db2_y='2014'
|
db2_y='2014'
|
||||||
nb_db=13
|
nb_db=13
|
||||||
|
@ -109,6 +109,8 @@ function launching_queues {
|
||||||
screen -S "Queue" -X screen -t "Qurls" bash -c './ZMQ_Sub_Urls_Q.py; read x'
|
screen -S "Queue" -X screen -t "Qurls" bash -c './ZMQ_Sub_Urls_Q.py; read x'
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
screen -S "Queue" -X screen -t "QCurve" bash -c './ZMQ_Sub_Curve_Q.py; read x'
|
screen -S "Queue" -X screen -t "QCurve" bash -c './ZMQ_Sub_Curve_Q.py; read x'
|
||||||
|
sleep 0.1
|
||||||
|
screen -S "Queue" -X screen -t "QIndexer" bash -c './ZMQ_Sub_Indexer_Q.py; read x'
|
||||||
}
|
}
|
||||||
|
|
||||||
function launching_scripts {
|
function launching_scripts {
|
||||||
|
@ -138,6 +140,8 @@ function launching_scripts {
|
||||||
screen -S "Script" -X screen -t "Urls" bash -c './ZMQ_Sub_Urls.py; read x'
|
screen -S "Script" -X screen -t "Urls" bash -c './ZMQ_Sub_Urls.py; read x'
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
screen -S "Script" -X screen -t "Curve" bash -c './ZMQ_Sub_Curve.py; read x'
|
screen -S "Script" -X screen -t "Curve" bash -c './ZMQ_Sub_Curve.py; read x'
|
||||||
|
sleep 0.1
|
||||||
|
screen -S "Script" -X screen -t "Indexer" bash -c './ZMQ_Sub_Indexer.py; read x'
|
||||||
}
|
}
|
||||||
|
|
||||||
#If no params, display the help
|
#If no params, display the help
|
||||||
|
|
|
@ -24,3 +24,6 @@ pybloomfiltermmap
|
||||||
ipython
|
ipython
|
||||||
flask
|
flask
|
||||||
texttable
|
texttable
|
||||||
|
|
||||||
|
#Indexer requirements
|
||||||
|
whoosh
|
||||||
|
|
Loading…
Reference in New Issue