Commit 4ced8573 authored by Dorian's avatar Dorian
Browse files

clean

parent 667bc525
......@@ -12,9 +12,12 @@ If you want to run the script you'll need:
* python3
* **sqlite3** (```sudo apt install sqlite3```)
This will extract all the potelets incidents from the fixmystreet API and put them in a sqlite db ```potelets.db```.
This will extract all the potelets incidents from the fixmystreet API and put them in a local sqlite db ```potelets.db```.
If the db already exist it will search for updates from the fixmystreet API and write them in the local sqlite db.
*Note: extracting all the potelets and write them in the db with the python script takes approximatelly 4h, it will also replace the current db.*
Note:
* extracting all the potelets and write them in the db with the python script takes approximatelly 4h, it will also replace the current db.
* if an incidents has changed of category, the update script is not able to see it (as the responses of the API only gives infos on the ones that are still in the category - potelets)
```
cd db
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment