grunt-appengine

Grunt task for running and managing App Engine

Usage no npm install needed!

<script type="module">
  import gruntAppengine from 'https://cdn.skypack.dev/grunt-appengine';
</script>

README

grunt-appengine Build Status

Grunt task for running and managing App Engine

Not actively maintained anymore. Should work well anyway. Still accepting PRs.

Getting Started

This plugin requires Grunt ~0.4.0

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-appengine --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-appengine');

Appengine task

Run this task with the grunt appengine command.

Usage Example

appengine: {
  options: {
    manageFlags: {
      oauth2: true
    },
    runFlags: {
      port: 8080
    }
  },
  frontend: {
      root: 'frontend/',
    options: {
      manageFlags: {
        version: '<%= pkg.version %>',
      }
    }
  },
  staging: {
    root: 'frontend/',
    options: {
      manageFlags: {
        application: 'my-app-staging'
      }
    }
  },
  backend: {
    root: 'backend/',
        backend: true,
        backendName: 'crawler'
  }
}

All options are optional.

Running the dev server

$ grunt appengine:run:frontend

Update the frontend

$ grunt appengine:update:frontend

**Update staging

$ grunt appengine:update:staging

Update the backend

$ grunt appengine:update:backend

Release History

  • 2013-08-12   v0.0.1   initial publishing
  • 2013-08-13   v0.0.2   changed option 'folder' to 'root'
  • 2013-08-13   v0.0.3   added option 'env' to control process environment variables
  • 2013-08-13   v0.1.0   changed command order from 'appengine::' to 'appengine::'
  • 2013-08-14   v0.1.1   added support for GOPATH configuration
  • 2013-09-11   v0.1.2   removed run flag 'port', added config option 'stdio'
  • 2014-01-12   v0.1.3   added support for modules
  • 2014-01-13   v0.1.4   removed 'app.yaml' from default list of modules

Task submitted by Stephan Behnke

This file was generated on Wed Apr 16 2014 20:44:56.