node-gae-util

0.3.3 • Public • Published

node-gae-util

Collection of commandline helpers for development on Google App Engine written in Node.

Some of the tools are general useful.

Init functions

gaeutil init-php projectId serviceName
gaeutil init-slim projectId serviceName
gaeutil init-python projectId serviceName

Will create app.yaml if doesnt exist Will copy defaults from package json.

Secrets commands

These commands will encrypt and upload a dot secret file to the projects so that it can be manually edited.

  • gaeutil secret-init gs://target-bucket/test.json checks if file can be created and uploaded and creates the initial file.
  • gaeutil secret-pull gs://target-bucket/test.json downloads a particular file.
  • gaeutil secret-push gs://target-bucket/test.json
  • gaeutil secrets-pull-all get all secrets from gaeutil.json
  • gaeutil secrets-push-all upload all changed secrets from gaeutil.json

This command will download secrets defined in gaeutil.json and store them to /secrets/{bucket}/{filename}

$ gaeutil download-secrets

This command will upload secrets stored in /secrets/{bucket}/{filename}

$ gaeutil upload-secrets

Cloud SQL Commands

Git Commands

gaeutil git-sync-ignore
gaeutil git-sync-authors
gaeutil git-

Jetbrains Commands

gaeutil jetbrains-sync-runmanager
gaeutil jetbrains

gaedev.json and gaeutil.json

{
  "project": "beste-adm",
  "dot_configs": [
    "gs://beste-no-configs/global.json"
  ]
}

Alternative

Readme

Keywords

none

Package Sidebar

Install

npm i node-gae-util

Weekly Downloads

5

Version

0.3.3

License

Apache-2.0

Unpacked Size

44.2 kB

Total Files

34

Last publish

Collaborators

  • mijohansen