Any-way.co.il (soon...) - Crowd-sourced road hazard reporting website.
Feel free to contribute to the project. It is currently hosted on Heroku: http://anyway.herokuapp.com/
- Install Virtualbox and Vagrant
- Clone this repo
- Run
vagrant up
in your shell - Open http://127.0.0.1:5000 in your browser
- Commit and send pull request
- Have fun!
- Make some changes
- Refresh your browser
- If needed: Ctrl+C in the shell, run
vagrant provision
- Create an account on Heroku
- Follow the quickstart instructions. On step #4, read the Python introduction
- Create an app, e.g. anyway-mydev
- Sign up for free tier ClearDB (MySQL). Note that you'll have to enter your credit card details to be eligible for the free MySQL usage.
- Deploy your git repo to heroku
- Loading the database with our data:
- Tweak your Heroku app configurations, by removing
?reconnect=true
from your CLEARDB config (if you have several apps, specify the relevant one with the option --app for all following heroku commands):
heroku config:set CLEARDB_DATABASE_URL=$(heroku config:get CLEARDB_DATABASE_URL | cut -d '?' -f 1)
- Create tables:
heroku run ./models.py
- Populate data:
heroku run ./process.py --ratio 10
- Tweak your Heroku app configurations, by removing
- Read our forum (soon)
- Open an issue here
- Manual setup of our development stack
- We try to follow the process of other Hasadna projects, e.g. Open-Knesset