anyway.co.il - Crowd-sourced road hazard reporting website.
Also available at oway.org.il.
Feel free to contribute to the project.
To report bugs and feature requests, please open an issue on GitHub.
See also our Android app and iOS app on GitHub.
The datasets Anyway uses are documented here:
- CBS (Central Bureau of Statistics, למ"ס)
- United Hatzalah (איחוד הצלה) - Currently not in use
See Code Directory Tree Structure.
Anyway's main goal is raising awareness of road accidents and act to avoid them, by showing road accidents with casualties over map.
The shown data based on reports supplied by the Israeli Central Bureau of Statistics (CBS) and real time reports from United Hatzalah of Israel.
Anyway is an open source project, sponsored by The Public Knowledge Workshop (“Hasadna”).
- We try to follow the process of other Hasadna projects, e.g. Open-Knesset.
- Please take a moment to read our "Contributing to ANYWAY" manifest.
- To see our GitHub issues in a nicer interface, take a look at HuBoard. Check out the Ready list to find a task to work on. The Backlog list there contains issues that are still not ready to be started. The Working list contains issues already started by developers (make sure to move your issue there once you start working on it), and the Done list contains completed issues that are waiting to be confirmed done and closed.
- Fork this repository on GitHub
git clone https://github.com/*you*/anyway
- Add the main repository as your upstream remote:
git remote add upstream https://github.com/hasadna/anyway
- Get updates whenever you start working:
git pull upstream dev
- Push to your fork when you've committed your changes and tested them:
git push
. Now make sure CI tests are passing (Travis CI and AppVeyor) and make a pull request from your fork on GitHub
We are using DOCKER. See DOCKER
- Optionally, Get the complete accidents file after sending a permission request, and extract it into
/static/data/cbs
. Otherwise, you'll use the example accidents files that you already got with the code. - Get the RSA file from rsa file after sending a permission request and extract the file into
/static/data/rsa
.
- Add Travis CI to your forked repository - in your github forked repository: Settings -> Integrations & services -> Add service -> Travis CI
- Add AppVeyor to your forked repository - Login with your GitHub account -> New Project -> GitHub -> anyway
To run tests: pylint -j $(nproc) anyway tests && pytest -m "not browser" ./tests
If you also wish to run the real browser tests, replace-m "not browser"
with --driver Chrome
or specify the browser of your choice. To learn more, read about pytest-selenium.
When creating a patch that alters the database schema, you should use generate the appropriate Alembic revision by running:
alembic revision --autogenerate -m "Description of the change"
Make sure to commit your revision together with the code.
See TRANSLATE