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

Side by Side Diff: tools/android/loading/cloud/frontend/README.md

Issue 2041323002: tools/android/loading Add instructions to deploy to staging frontend. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Appengine Frontend for Clovis 1 # Appengine Frontend for Clovis
2 2
3 [TOC] 3 [TOC]
4 4
5 ## Usage 5 ## Usage
6 6
7 Visit the application URL in your browser, and upload a JSON dictionary with the 7 Visit the application URL in your browser, and upload a JSON dictionary with the
8 following keys: 8 following keys:
9 9
10 - `action` (string): the action to perform. Only `trace` and `report` are 10 - `action` (string): the action to perform. Only `trace` and `report` are
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 ### Deploy 118 ### Deploy
119 119
120 ```shell 120 ```shell
121 # Install dependencies in the lib/ directory. 121 # Install dependencies in the lib/ directory.
122 pip install -r requirements.txt -t lib 122 pip install -r requirements.txt -t lib
123 # Deploy. 123 # Deploy.
124 gcloud preview app deploy app.yaml 124 gcloud preview app deploy app.yaml
125 ``` 125 ```
126 126
127 To deploy to a staging/test version of the server, you can do:
128
129 ```shell
130 gcloud preview app deploy --no-promote --version $MY_VERSION
131 ```
132
133 where `MY_VERSION` can be something like `staging` or something more unique to
134 ensure there is no name collision. You can then access the application live on
135 the web by prefixing the URL of the service with `$MY_VERSION-dot-`.
136
127 ### Updating the Database Schema 137 ### Updating the Database Schema
128 138
129 When a change is made to the dictionary returned by report.py, the BigQuery 139 When a change is made to the dictionary returned by report.py, the BigQuery
130 database schema must be updated accordingly. 140 database schema must be updated accordingly.
131 141
132 To update the schema, run: 142 To update the schema, run:
133 143
134 ```shell 144 ```shell
135 bq update \ 145 bq update \
136 --schema \ 146 --schema \
(...skipping 15 matching lines...) Expand all
152 162
153 163
154 [1]: https://cloud.google.com/sdk 164 [1]: https://cloud.google.com/sdk
155 [2]: https://cloud.google.com/appengine/docs/python/taskqueue 165 [2]: https://cloud.google.com/appengine/docs/python/taskqueue
156 [3]: https://cloud.google.com/appengine/docs/python/config/queue 166 [3]: https://cloud.google.com/appengine/docs/python/config/queue
157 [4]: ../backend/README.md#Deploy-the-code 167 [4]: ../backend/README.md#Deploy-the-code
158 [5]: https://cloud.google.com/appengine/docs/python 168 [5]: https://cloud.google.com/appengine/docs/python
159 [6]: http://flask.pocoo.org 169 [6]: http://flask.pocoo.org
160 [7]: #Updating-the-Database-Schema 170 [7]: #Updating-the-Database-Schema
161 [8]: https://bigquery.cloud.google.com 171 [8]: https://bigquery.cloud.google.com
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698