README fixed for bare bone install

pull/8/head
Alexandre Dulaunoy 2014-08-08 11:42:51 +02:00
parent 0fe6c4d805
commit dd0739be43
1 changed files with 22 additions and 2 deletions

View File

@ -35,6 +35,9 @@ sudo apt-get install g++
sudo apt-get install python-dev sudo apt-get install python-dev
sudo apt-get install python-tk sudo apt-get install python-tk
sudo apt-get install screen sudo apt-get install screen
sudo apt-get install libssl-dev
sudo apt-get install libfreetype6-dev
sudo apt-get install python-numpy
``` ```
Then these modules need to be install with pip inside the virtual environment: Then these modules need to be install with pip inside the virtual environment:
@ -54,17 +57,18 @@ That's all the packages you can install with pip:
``` ```
pip install redis pip install redis
pip install logbook
pip install networkx pip install networkx
pip install crcmod pip install crcmod
pip install mmh3 pip install mmh3
pip install dnspython pip install dnspython
pip install pyzmq pip install pyzmq
pip install texttable ----- Queues Monitoring (Optional) pip install texttable
pip install -U textblob pip install -U textblob
python -m textblob.download_corpora python -m textblob.download_corpora
pip install python-magic pip install python-magic
pip install numpy pip install numpy
pip install flask ----- (Optional) pip install flask
pip install nltk pip install nltk
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)
@ -115,6 +119,22 @@ cd bin
./LAUNCH.sh ./LAUNCH.sh
``` ```
To start with the web interface, you need to fetch the required Javascript/CSS files:
```
cd $AILENV
cd var/www/
bash update_thirdparty.sh
```
and then you can start the web interface:
```
cd $AILENV
cd var/www/
Flask_server.py
```
Then you can browse the status of the AIL framework at the following URL: Then you can browse the status of the AIL framework at the following URL:
``http://localhost:7000/`` ``http://localhost:7000/``