gulp-gae

0.0.4 • Public • Published

gulp-gae

Installation

npm install gulp-gae --save-dev

Usage

var gulp = require('gulp'),
  gae = require('../');
 
 
gulp.task('gae-serve', function () {
  gulp.src('app/app.yaml')
    .pipe(gae('dev_appserver.py', [], {
      port: 8081,
      host: '0.0.0.0',
      admin_port: 8001,
      admin_host: '0.0.0.0'
    }));
});
 
 
gulp.task('gae-deploy', function () {
  gulp.src('app/app.yaml')
    .pipe(gae('appcfg.py', ['update'], {
      version: 'dev',
      oauth2: undefined // for value-less parameters
    }));
});
 
 
gulp.task('default', ['gae-serve']);
 

For a working example see the test folder.

Package Sidebar

Install

npm i gulp-gae

Weekly Downloads

1

Version

0.0.4

License

MIT

Last publish

Collaborators

  • maciejzasada