Add section on how to publish data to README

parent 16788d8f
......@@ -57,3 +57,23 @@ Please note that the output of the scripts might give false negatives,
i.e. other countries not listed might also be blocking Tor.
This can be due to limited OONI data, wrong GeoIP classifications,
flaky national firewalls, sophisticated blocking techniques or other reasons.
# Publishing results on the web
Expose the `www` folder with a webserver.
Copy or symlink these generated files into the folder:
* `countries.json`
* `countries-bridges.json`
* `countries-bridge-ratio.json`
## Periodically update data
To keep the published data up do date,
you might want to set up a cronjob that runs the following scripts:
* `ooni-sync` for `vanilla_tor`
* `ooni-sync` for `tcp_connect`
* `update-tor-browser-bridges.py` to update `tor-browser-bridges`
* `countries-that-block-tor.py --json` to produce `countries.json`
* `countries-that-block-bridges.py --json` to produce `countries-bridges.json`
* `tor-metrics-bridges.py --json` to produce `countries-bridge-ratio.json`
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