• Home
  • History
  • Annotate
  • only in /external/chromium/chrome/common/extensions/docs/server/
NameDateSize

..21-Nov-20124 KiB

app.yaml21-Nov-2012144

chromeextensionsdocs.py21-Nov-201214.8 KiB

index.yaml21-Nov-2012482

README21-Nov-20121.6 KiB

README

1This directory contains the App Engine server code that hosts the Chrome
2Extensions documentation at http://code.google.com/chrome/extensions
3
4--------------------------------------------------------------------------------
5Running the server locally
6
71. Install the Python App Engine SDK for your platform:
8   http://code.google.com/appengine/downloads.html
9
102. Use the installed development server to serve the contents of this directory:
11   http://code.google.com/appengine/docs/python/tools/devserver.html
12
13   Typically, this will be something like (run from this directory)
14
15     /path/to/dev_appserver.py --post=8080 .
16
173. Navigate to http://localhost:8080 (or whatever port you specified)
18
19--------------------------------------------------------------------------------
20Deploying the server to code.google.com:
21
22You will need to have access to the appropriate appspot.com app. Contact
23aa@chromium.org or kurrik@chromium.org to obtain access.
24
25Once you have access:
26
271. Increment the version in app.yaml so we can roll back if the update breaks.
28
292. Run appcfg.py (supplied with the App Engine SDK) to upload the server code:
30
31    appcfg.py update .
32
333. When prompted for your credentials, enter the information for the account
34   that has access to the production app.
35
364. Go to http://www.appspot.com, select the docs project, click "versions" in
37   the sidebar, and make the version you just deployed the "default" version.
38
39   If you get an error about too many versions when deploying, go into this
40   view and delete the version which was deployed the longest time ago.  Then
41   try to deploy again.
42
43