Chrome Status Dashboard
Перейти к файлу
Eric Bidelman 6b9aba52aa Feature owners: db notifications and task queue.
- Intercepts calls to Feature.put() and diffs changes in properties for updates
- Creates async task queue and email notifies feature owners
- Switch to pip and custom django install instead of GAE version
2017-07-02 21:25:30 -07:00
cloudstorage Fixes #219 2015-07-10 10:01:36 -07:00
customtags Error logging for when inline_file cant find static file 2016-11-15 15:59:35 -08:00
data DevRel owners - add a few more people 2017-06-30 16:04:31 -07:00
http2push@7b63c8d258 Add experimental features to shipping samples 2016-04-08 15:19:12 +05:30
scripts Feature owners: db notifications and task queue. 2017-07-02 21:25:30 -07:00
static Tighten up UI lines 2017-06-30 16:04:31 -07:00
templates Tighten up UI lines 2017-06-30 16:04:31 -07:00
travis Use Lighthouse CI module (#466) 2017-06-13 15:44:10 -07:00
.babelrc Preload, babel support, metrics/user timing lib 2016-08-05 17:59:09 -07:00
.bowerrc update to polymer 1.2.3 2015-11-17 09:11:51 -08:00
.editorconfig Adds eslint. Fixes #350 (#351) 2016-07-19 15:19:06 -07:00
.eslintignore Preload, babel support, metrics/user timing lib 2016-08-05 17:59:09 -07:00
.eslintrc Add toast for SW 2016-08-10 16:11:45 -07:00
.gitignore Feature owners: db notifications and task queue. 2017-07-02 21:25:30 -07:00
.gitmodules Add http2push-gae 2015-10-13 15:13:53 -07:00
.travis.yml Travis: use node 8 2017-06-13 15:50:17 -07:00
Gruntfile.js Use Gulp for build instead of Grunt (#349) 2016-07-20 12:49:10 -07:00
LICENSE Apache2 license 2016-07-08 13:09:02 -07:00
README.md Feature owners: db notifications and task queue. 2017-07-02 21:25:30 -07:00
README.txt Added cron job to fetch chromium histograms 2015-02-10 18:31:50 +01:00
admin.py Feature owners: db notifications and task queue. 2017-07-02 21:25:30 -07:00
app.yaml Feature owners: db notifications and task queue. 2017-07-02 21:25:30 -07:00
appengine_config.py Feature owners: db notifications and task queue. 2017-07-02 21:25:30 -07:00
blink_handler.py Email sent to owners for feature additions and updates 2017-06-30 16:04:31 -07:00
bower.json Components in list, toggle, UI cleanup 2017-06-30 16:03:49 -07:00
bulkloader.yaml
bulkloader_helpers.py
common.py Feature owners: db notifications and task queue. 2017-07-02 21:25:30 -07:00
config.rb
cron.yaml Fix cron description 2017-06-30 16:04:31 -07:00
gcloud-client-secret.json.enc Travis Lighthouse setup 2017-03-31 19:45:04 -07:00
gulpfile.babel.js Use sw-toolbox "fastest" for all endpoints to combate liefi (#423) 2016-10-11 13:24:32 -07:00
import.csv
index.yaml Add/remove functionality for /admin/blink CMS 2017-06-30 16:03:50 -07:00
metrics.py Cache json endpoints (#348) 2016-07-19 14:53:25 -07:00
models.py Feature owners: db notifications and task queue. 2017-07-02 21:25:30 -07:00
notifier.py Feature owners: db notifications and task queue. 2017-07-02 21:25:30 -07:00
notifier.yaml Feature owners: db notifications and task queue. 2017-07-02 21:25:30 -07:00
package.json Initial code for schedule 2017-06-30 16:03:49 -07:00
push_manifest_features.json Reduce h2 push'd resources. Preload instead. Fixes #345 (#346) 2016-07-19 21:12:32 -07:00
push_manifest_metrics.json Reduce h2 push'd resources. Preload instead. Fixes #345 (#346) 2016-07-19 21:12:32 -07:00
queue.yaml Feature owners: db notifications and task queue. 2017-07-02 21:25:30 -07:00
requirements.txt Feature owners: db notifications and task queue. 2017-07-02 21:25:30 -07:00
schedule.py Make schedule public 2017-06-30 16:04:31 -07:00
server-delay.py Delay endpoint for testing 2017-04-19 13:19:12 -07:00
server.py Feature owners: db notifications and task queue. 2017-07-02 21:25:30 -07:00
settings.py Make schedule public 2017-06-30 16:04:31 -07:00
users.py Blink component ownners /admin/blink endpoint 2017-06-30 16:03:49 -07:00
util.py Break up features into multiple memcache keys 2017-06-05 22:03:17 -07:00
yarn.lock update yarn.lock 2017-06-30 16:03:49 -07:00

README.md

Chrome Platform Status

chromestatus.com

Get the code

git clone --recursive https://github.com/GoogleChrome/chromium-dashboard

Installation

First, install the Google App Engine SDK for Python.

You'll also need pip, node, and npm. Next, install bower and the deps:

npm install -g bower
npm install
pip install -t lib -r requirements.txt

This will also pull down bower_components and run gulp to build the site.

Developing

Note: I've had issues with Django errors just running grunt serve or using the dev_appserver.py but others haven't.

Download the Google App Engine Python SDK launcher (Mac) and use that. Open the launcher and run the app in the main repo directory.

Locally, the /feature list pulls from prod (https://www.chromestatus.com/features.json). Opening one of the features will 404 because the entry is not actually in the local db. If you want to test local entries, modify templates/features.html to pull locally and add some db entries by signing in to the app (bottom link). Make sure to check the "sign in as admin" box when doing so. Note that you can also simply go to http://127.0.0.1:8080/ instead of localhost to pull locally.

Visit http://localhost:8080/admin/blink/populate_blink to see the list of Blink component owners

Debugging / settings

settings.py contains a list of globals for debugging and running the site locally.

VULCANIZE - False will run the site without vulcanizing the Polymer elements.

Deploying

Note you need to have admin privileges on the cr-status cloud project to be able to deploy the site.

First, update the version field in app.yaml. That will ensure the app deploys to a versioned URL and helps for rolling back later. Then, run the helper script:

./scripts/deploy_site.sh

This will build the site and deploy it to GAE.

Lastly, open the Google Developer Console and flip to the new version.

LICENSE

Copyright (c) 2013-2016 Google Inc. All rights reserved.

Apache2 License.

Analytics