/anyway

Any-way.co.il - Crowd-sourced road hazard reporting website

Primary LanguageJavaScriptOtherNOASSERTION

Anyway

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/

Contributing

Develpment/Staging/Production Worflow

  • Make some changes
  • Refresh your browser
  • If needed: Ctrl+C in the shell, run vagrant provision

Heroku deployment

  • 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

Bugs & Feature Requests

  • Read our forum (soon)
  • Open an issue here

Developer Documentation