Skip to content

crdil/ng6-weatherApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular ES6 Weather Forceast App

A weather application which lets you view forecast for a city.

It is built with Angular and ES6. Openweathermap API is used to fetch the forecast. Foundation CSS framework is used to style the app. EJS template engine is used to add the environments scripts.

Gulp is used to build the application and includes a livereload development webserver.

Development Requirements

Dependency OS X Installation
node.js brew install nodejs
gulp npm install -g gulp
jspm npm install -g jspm

Development

Installation

npm install
jspm install
gulp

Live Reload

gulp

Building

gulp build:<environment>

After the build the app can be served from src/app directory.

Environments

  • development
  • test
  • staging
  • production

Available Gulp Tasks

Command Desc
gulp cleanup Remove build files
gulp serve (default) Launch with live reload
gulp set-environment:development Set environment to development *
gulp set-environment:test Set environment to test *
gulp set-environment:staging Set environment to staging *
gulp set-environment:production Set environment to production *
gulp update-revision Update current revision based on the git commit or date/time **
gulp build:development Build for the development environment
gulp build:test Build for the test environment
gulp build:staging Build for the staging environment
gulp build:production Build for the production environment
gulp compile-ejs Compile EJS files
gulp compile-sass Compile SASS files
gulp compile-scripts Compile scripts. Creates self-sufficient bundle (except for development environment)
gulp compile-templates Compile templates into cache. In development templates are not cached.
gulp copy-fonts Copy fonts to defined font directory.
gulp optimize-asssets Optimize assets
gulp post-build Perform post-build steps

* Current environment is stored in /environment file

** Current revision is stored in /revison file

Author

crdil * Github

Credits

Mikhail Yurasov <[email protected]> https://github.com/myurasov/Angular-ES6-JSPM-Gulp-Boilerplate.git Basically, WTFPL

About

Angular ES6 weather application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published