aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 6f0388014b7c8a9d247d36a0f4f04a1ee4b516b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Simple search engine - but you can search nothing for the moment

# Installing

It is recommended to use [virtualenv](https://virtualenv.pypa.io).

```
pip install -r requirements.txt
```

# Crawling

For now there is an example spider with neodarz website.
For testing it just run:

```
python app.py
```

The database is in the sqlite file `khanindexer.db` at the root of the project.

# Testing

If you just want to test and don't want to install a MySQL (or MariaDB)
database but have Docker installed, juste use the `docker-compose.yml`.
This is only for test, don't use this shit on production (the docker-compose
file)!