shaief / openAir

Making air quality monitoring accessible
openair.dokku.shaief.com
GNU Affero General Public License v3.0
7 stars 3 forks source link

Create custom django-admin command #3

Closed Nagasaki45 closed 10 years ago

Nagasaki45 commented 10 years ago

Wrap scraper in custom django-admin command to scrape zones and put the data in the DB.

oz123 commented 10 years ago

hi guys,

this is something I can do, if you want, leave it to me. Will be able to do next monday.

Nagasaki45 commented 10 years ago

Hi Oz,

I'm already working on this. Maybe you can help us with the visualization. As both me and Shai don't really know any front end programming I think it could be the most helpful.

Nagasaki45 commented 10 years ago

Finished!!!

start by running: ./manage.py hardcode_zones_to_db

and then ./manage.py run_scraper

It may take up to 5 minutes so be patient. There is still a small problem with the timezone of the time-stamps. I will open a separate issue...

shaief commented 10 years ago

Thanks Oz for offering your help!

Tom - this is great. Now i have a DB to play with while working on the views and templates :) Thanks!