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