Update readme

pull/1/head
Raphaël Vinot 2017-08-12 17:45:33 +02:00
parent f7f1abc9e4
commit 017ad8f9dc
1 changed files with 25 additions and 13 deletions

View File

@ -1,12 +1,9 @@
Lookyloo
========
# Lookyloo
*Lookyloo* is a web interface allowing to scrape a website and then displays a
tree of domains calling each other.
What is that name?!
===================
# What is that name?!
```
@ -20,25 +17,40 @@ In L.A. usually the lookyloo's cause more accidents by not paying full attention
Source: Urban Dictionary
Implementation details
======================
# Implementation details
This code is very heavily inspired by https://github.com/etetoolkit/webplugin and adapted to use flask as backend.
Installation of har2tree
========================
# Installation of har2tree
The core dependency is ETE Toolkit, which you can install following the guide
on the official website: http://etetoolkit.org/download/
Protip
======
## Protip
If you like using virtualenv and have `pew` installed you can also do it this way:
```bash
sudo apt-get install python-qt4
pip install -r requirements.txt
sudo apt-get install python3-pyqt4
```
# Installation of scrapysplashwrapper
You need a running splash instance, preferably on docker: https://splash.readthedocs.io/en/stable/install.html
```bash
sudo apt install docker.io
sudo docker pull scrapinghub/splash
sudo docker run -p 8050:8050 -p 5023:5023 scrapinghub/splash
```
# Installation of the whole thing
(assuming you already installed the dependencies ete3 and splash in docker)
```bash
pew toggleglobalsitepackages # PyQt4 is not easily installable in a virtualenv
pip install -r requirements.txt
pip install -e .
```