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

Side by Side Diff: doc/appengine/README

Issue 1416833003: Add a README for the App Engine app with notes for maintaining it (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 years, 2 months 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
« no previous file with comments | « no previous file | doc/appengine/app.yaml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 This is the App Engine app that serves https://crashpad-home.appspot.com/.
2
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
5 go_appengine directory. This may be added to your $PATH for convenience,
6 although it is not necessary.
7
8 The commands in this README are expected to be run from the directory containing
9 app.yaml.
10
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
13 uses the newer paths. See
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
16 available, obtain a Go release from https://golang.org/dl/, and run:
17
18 $ GOROOT=…/go_appengine/goroot GOPATH=…/go_appengine/gopath go get -d
19
20 To test locally:
21
22 $ goapp serve
23
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.
26
27 To deploy:
28
29 $ version=$(git rev-parse --short=12 HEAD)
30 $ [[ -n "$(git status --porcelain)" ]] && version+=-dirty
31 $ goapp deploy -version "${version}"
32
33 Note that app.yaml does not name a “version” to encourage you to use a git hash
34 as the version, as above.
35
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,
38 and choosing “Make Default”. It is also possible to delete old versions from
39 this page when they are no longer needed.
OLDNEW
« no previous file with comments | « no previous file | doc/appengine/app.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698