Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: third_party/crashpad/crashpad/doc/appengine/README

Issue 2555353002: Update Crashpad to 32981a3ee9d7c2769fb27afa038fe2e194cfa329 (Closed)
Patch Set: fix readme Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This is the App Engine app that serves https://crashpad.chromium.org/. 1 This is the App Engine app that serves https://crashpad.chromium.org/.
2 2
3 To work on this app, obtain the App Engine SDK for Go from 3 To work on this app, obtain the App Engine SDK for Go from
4 https://cloud.google.com/appengine/downloads. Unpacking it produces a 4 https://cloud.google.com/appengine/docs/go/download. Unpacking it produces a
5 go_appengine directory. This may be added to your $PATH for convenience, 5 go_appengine directory. This may be added to your $PATH for convenience,
6 although it is not necessary. 6 although it is not necessary.
7 7
8 The commands in this README are expected to be run from the directory containing 8 The commands in this README are expected to be run from the directory containing
9 app.yaml. 9 app.yaml.
10 10
11 The App Engine SDK for Go provides App Engine packages at the “appengine” import 11 The App Engine SDK for Go provides App Engine packages at the “appengine” import
12 path, but not the newer “google.golang.org/appengine” path. The Crashpad app 12 path, but not the newer “google.golang.org/appengine” path. The Crashpad app
13 uses the newer paths. See 13 uses the newer paths. See
14 https://github.com/golang/appengine#2-update-import-paths and 14 https://github.com/golang/appengine#2-update-import-paths and
15 https://code.google.com/p/googleappengine/issues/detail?id=11670. To make these 15 https://code.google.com/p/googleappengine/issues/detail?id=11670. To make these
16 available, obtain a Go release from https://golang.org/dl/, and run: 16 available, obtain a Go release from https://golang.org/dl/, and run:
17 17
18 $ GOROOT=…/go_appengine/goroot GOPATH=…/go_appengine/gopath go get -d 18 $ GOROOT=…/go_appengine/goroot GOPATH=…/go_appengine/gopath go get -d
19 19
20 To test locally: 20 To test locally:
21 21
22 $ goapp serve 22 $ …/go_appengine/goapp serve
23 23
24 Look for the “Starting module "default" running at: http://localhost:8080” line, 24 Look for the “Starting module "default" running at: http://localhost:8080” line,
25 which tells you the URL of the local running instance of the app. 25 which tells you the URL of the local running instance of the app.
26 26
27 To deploy: 27 To deploy:
28 28
29 $ version=$(git rev-parse --short=12 HEAD) 29 $ version=$(git rev-parse --short=12 HEAD)
30 $ [[ -n "$(git status --porcelain)" ]] && version+=-dirty 30 $ [[ -n "$(git status --porcelain)" ]] && version+=-dirty
31 $ goapp deploy -version "${version}" 31 $ …/go_appengine/goapp deploy -version "${version}"
32 32
33 Note that app.yaml does not name a “version” to encourage you to use a git hash 33 Note that app.yaml does not name a “version” to encourage you to use a git hash
34 as the version, as above. 34 as the version, as above.
35 35
36 Activate a newly-deployed version by visiting the App Engine console at 36 Activate a newly-deployed version by visiting the App Engine console at
37 https://appengine.google.com/deployment?&app_id=s~crashpad-home, selecting it, 37 https://appengine.google.com/deployment?&app_id=s~crashpad-home, selecting it,
38 and choosing “Make Default”. It is also possible to delete old versions from 38 and choosing “Make Default”. It is also possible to delete old versions from
39 this page when they are no longer needed. 39 this page when they are no longer needed.
OLDNEW
« no previous file with comments | « third_party/crashpad/crashpad/compat/win/winnt.h ('k') | third_party/crashpad/crashpad/doc/appengine/main.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698