Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from "gcloud preview app" to "gcloud app" #142

Merged
merged 1 commit into from
Jun 30, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion appengine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ create a project/app id. (App id and project id are identical.)

1. Use gcloud to deploy your app.

gcloud preview app deploy
gcloud app deploy

1. Awesome! Your application is now live at `your-project-id.appspot.com`.

Expand Down
2 changes: 1 addition & 1 deletion appengine/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"start": "node app.js",
"monitor": "nodemon app.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"express": "^4.13.4",
Expand Down
2 changes: 1 addition & 1 deletion appengine/bower/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"start": "node server.js",
"postinstall": "bower install --config.interactive=false",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"bower": "^1.7.7",
Expand Down
2 changes: 1 addition & 1 deletion appengine/cloudsql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"start": "node app.js",
"monitor": "nodemon app.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"express": "^4.13.4",
Expand Down
2 changes: 1 addition & 1 deletion appengine/datastore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"start": "node app.js",
"monitor": "nodemon app.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"express": "^4.13.4",
Expand Down
2 changes: 1 addition & 1 deletion appengine/disk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"start": "node app.js",
"monitor": "nodemon app.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"express": "^4.13.4"
Expand Down
2 changes: 1 addition & 1 deletion appengine/endpoints/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"start": "node app.js",
"monitor": "nodemon app.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"express": "^4.13.4",
Expand Down
2 changes: 1 addition & 1 deletion appengine/errorreporting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"start": "node app.js",
"monitor": "nodemon app.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"express": "^4.13.4",
Expand Down
6 changes: 3 additions & 3 deletions appengine/express-memcached-session/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ In your terminal window, press Ctrl+C to exit the web server.

In your terminal window, enter the following command to deploy the sample:

gcloud preview app deploy
gcloud app deploy

### See the app run in the cloud

Expand All @@ -53,7 +53,7 @@ lines to your package.json file:

"scripts": {
"start": "node server.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
}

At the terminal you can now run the following command to deploy your application:
Expand All @@ -72,6 +72,6 @@ deployment configuration.
MEMCACHE_URL: memcache:11211

Notice the `MEMCACHE_URL` environment variable–this is where you can reach your
standard memcached cluster across instances.
standard memcached cluster across instances.

[download]: https://github.com/GoogleCloudPlatform/nodejs-docs-samples/archive/master.zip
2 changes: 1 addition & 1 deletion appengine/express-memcached-session/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"scripts": {
"start": "node server.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"connect-memcached": "^0.1.0",
Expand Down
2 changes: 1 addition & 1 deletion appengine/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"scripts": {
"start": "node ./bin/www",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"body-parser": "^1.14.2",
Expand Down
2 changes: 1 addition & 1 deletion appengine/extending-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"start": "node app.js",
"start-on-prod": "node app.js",
"monitor": "nodemon app.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"express": "^4.13.4"
Expand Down
2 changes: 1 addition & 1 deletion appengine/geddy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"prestart": "GEDDY_SECRET=config/secrets.json; [[ -f $GEDDY_SECRET ]] || echo '{}' > $GEDDY_SECRET && geddy gen secret",
"start": "geddy",
"debug": "geddy --debug",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"geddy": "^13.0.8"
Expand Down
2 changes: 1 addition & 1 deletion appengine/grunt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"start": "node ./src/bin/www",
"postinstall": "grunt build",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"body-parser": "^1.14.2",
Expand Down
2 changes: 1 addition & 1 deletion appengine/hapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"scripts": {
"start": "node index.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"hapi": "^13.0.0"
Expand Down
2 changes: 1 addition & 1 deletion appengine/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"start": "node app.js",
"monitor": "nodemon app.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"express": "^4.13.4"
Expand Down
2 changes: 1 addition & 1 deletion appengine/koa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"scripts": {
"start": "node --harmony app.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"koa": "^1.1.2"
Expand Down
2 changes: 1 addition & 1 deletion appengine/kraken/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"build": "node_modules/grunt-cli/bin/grunt build",
"all": "npm run build && npm run test",
"start": "node server.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"construx": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion appengine/logging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"start": "node app.js",
"monitor": "nodemon app.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"express": "^4.13.4",
Expand Down
2 changes: 1 addition & 1 deletion appengine/loopback/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"pretest": "jshint .",
"start": "node server/server.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"compression": "^1.0.3",
Expand Down
2 changes: 1 addition & 1 deletion appengine/mailgun/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"scripts": {
"start": "node app.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"body-parser": "^1.14.2",
Expand Down
2 changes: 1 addition & 1 deletion appengine/mailjet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"scripts": {
"start": "node app.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"body-parser": "^1.14.2",
Expand Down
2 changes: 1 addition & 1 deletion appengine/memcached/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"start": "node app.js",
"monitor": "nodemon app.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"express": "^4.13.3",
Expand Down
2 changes: 1 addition & 1 deletion appengine/mongodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"scripts": {
"start": "node server.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"nconf": "^0.8.4",
Expand Down
2 changes: 1 addition & 1 deletion appengine/parse-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"start": "node server.js",
"monitor": "nodemon server.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"express": "^4.13.4",
Expand Down
2 changes: 1 addition & 1 deletion appengine/pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"start": "node app.js",
"monitor": "nodemon app.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"body-parser": "^1.14.2",
Expand Down
2 changes: 1 addition & 1 deletion appengine/redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"scripts": {
"start": "node server.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"nconf": "^0.8.4",
Expand Down
2 changes: 1 addition & 1 deletion appengine/restify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"scripts": {
"start": "node server.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"restify": "^4.0.0"
Expand Down
2 changes: 1 addition & 1 deletion appengine/sails/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"debug": "node debug app.js",
"start": "node app.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"ejs": "^2.3.4",
Expand Down
2 changes: 1 addition & 1 deletion appengine/sendgrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"scripts": {
"start": "node app.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"body-parser": "^1.14.2",
Expand Down
2 changes: 1 addition & 1 deletion appengine/static-files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"start": "node app.js",
"monitor": "nodemon app.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"express": "^4.13.4",
Expand Down
2 changes: 1 addition & 1 deletion appengine/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"scripts": {
"start": "node app.js",
"monitor": "nodemon app.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"body-parser": "^1.14.2",
Expand Down
2 changes: 1 addition & 1 deletion appengine/twilio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"start": "node app.js",
"monitor": "nodemon app.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"body-parser": "^1.14.2",
Expand Down
2 changes: 1 addition & 1 deletion appengine/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"bundle": "webpack --config webpack.config.js",
"prestart": "npm run bundle",
"start": "node server.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"express": "^4.13.4",
Expand Down
2 changes: 1 addition & 1 deletion appengine/websockets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"start": "node app.js",
"monitor": "nodemon app.js",
"deploy": "gcloud preview app deploy"
"deploy": "gcloud app deploy"
},
"dependencies": {
"express": "^4.13.4",
Expand Down
2 changes: 1 addition & 1 deletion debugger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Where appropriate, replace `[YOUR_PROJECT_ID]` with the ID of your Cloud project

1. Deploy the app:

gcloud preview app deploy
gcloud app deploy

1. View the deployed app at https://[YOUR_PROJECT_ID].appspot.com/.
1. Use the [StackDriver Debugger dashboard](https://console.cloud.google.com/debug) to inspect runtime data of the app.
2 changes: 1 addition & 1 deletion trace/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Where appropriate, replace `[YOUR_PROJECT_ID]` with the ID of your Cloud project
1. `cd nodejs-docs-samples/trace`
1. Deploy the app:

gcloud preview app deploy
gcloud app deploy

1. Visit the deployed app at https://[YOUR_PROJECT_ID].appspot.com/.
1. Use the [StackDriver Trace dashboard](https://console.cloud.google.com/traces/traces) to inspect recorded traces.