Local weather hybrid app to display wind conditions and forecast for a specific location (Zaragoza, Spain)
CSS JavaScript HTML PHP ApacheConf
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
api
src
www
.gitignore
.htaccess
LICENSE
README.md
gulpfile.js
package.json

README.md

Cierzo.app

Cierzo Maño is a JavaScript fast dev test hybrid application built with PhoneGap, using the darksky.net weather API. The UI targets on display the wind current conditions and forecast for a specific location, in this case: — The windy city of Zaragoza, Spain.

Android Mobile App Online WebApp
Get it on Google Play
play.google.com/store/apps/details?id=com.alterebro.cierzo

https://cierzo.976.es/

Development:

$ git clone https://github.com/alterebro/cierzo.git`
  • Install dependencies:
$ npm install
  • Sign up for a Dark Sky API Key: https://darksky.net/dev/

  • Edit the file cierzo/api/config.sample.php file and rename it to cierzo/api/config.php, use the secret API Key given to you by DarkSky.

<?php
	return array(
		'darksky_api_key' 	=> 'alphanumeric API Key from DarkSky',
		'darksky_base_url' 	=> 'https://api.darksky.net/forecast/',
		'latitude' 			=> 41.65, // Zaragoza, Spain (Lat)
		'longitude' 		=> -0.883, // Zaragoza, Spain (Lng)
		'lang' 				=> 'es',
		'units' 			=> 'ca', // auto | ca | uk2 | us | si
	);
?>
  • Now you can build the project with gulp
$ gulp

# If you don't already have gulp, first do:
$ npm install gulp-cli -g

This will create the compiled project on the www/ folder.



Credits / Libraries