浙江各城市PM2.5监测数据 - Sinatra app deployed on Heroku
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
public
test
views
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
app.rb
config.ru

README.md

浙江PM2.5监测数据

从浙江省环境保护厅抓取各城市 PM2.5 数据,计算 AQI 值并显示。

Sinatra app deployed on Heroku: zjair.herokuapp.com

数据来源

浙江省环境保护厅

How to run locally

  • bundle install
  • rackup

How to run console

  • racksh

Tests

  • rake test

How to run console on heroku

  • heroku run 'irb -r ./app' --app zjair

License

Copyright (c) 2012 James Chen (@ashchan)

Released under the MIT license: