aboutsummaryrefslogblamecommitdiff
path: root/README.org
blob: 3e3a56aa14453cdadef7deba3ec173c6cf304bed (plain) (tree)






















                                                                      
* weather

A simple server serving 7 day weather forecast of Victoria, Australia,
using xmls from BoM.

** Install
#+begin_src sh
cabal install
#+end_src

** Run
#+begin_src sh
~/.cabal/bin/weather
#+end_src

Then open a browser and navigate to <http://localhost:3000> to learn
about the Melbourne weather for the next 7 days.

For weather that is not in Melbourne, add /city/<cityName>, e.g. 
<http://localhost:3000/city/Bendigo>.

Also serving JSON: <http://localhost:3000> and
 <http://localhost:3000/json/city/Bendigo>.