Free time optimizer for canyonners.
When you have only X hours and a cord of length Y and you want to go out for a canyon, this tool allow you to select the better rated canyon for the time and the cord you have.
Prerequisites: python + pymongo + flask + MongoDB server + MongoDB mongoimport client utility
- Screen-scrap the database from //descente-canyon.com//
scrapy runspider canyon-scrap.py -o canyons.json --logfile=canyons.log - Insert this database into MongoDB
remove '[' and ']' from canyons.json mongoimport --db canyons --collection canyons --file canyons.json - Get driving times from google maps server
driving_compute-mongo.py - Do a little bit of denormalization and formatting on the database
denorm_and_format-mongo.py - Launch the web server
server-mongo.py - Browse
http://localhost:30000/static/index.html
Prerequisites: python + flask
- Screen-scrap the database from //descente-canyon.com//
scrapy runspider canyon-scrap.py -o canyons.json --logfile=canyons.log - Get driving times from google maps server
driving_compute-text.py - Do a little bit of denormalization and formatting on the database
denorm_and_format-text.py - Launch the web server
server-text.py - Browse
http://localhost:30000/static/index.html