Chrome Status Dashboard
Перейти к файлу
Eric Bidelman 93acd5cf9d Cache json endpoints (#348)
* Faster first render

* Cache json endpoint requests. Fixes #298

* feedback
2016-07-19 14:53:25 -07:00
cloudstorage Fixes #219 2015-07-10 10:01:36 -07:00
customtags Init commit of chromium feature dashboard 2013-03-07 10:29:38 -08:00
http2push@7b63c8d258 Add experimental features to shipping samples 2016-04-08 15:19:12 +05:30
scripts Omit --oauth2 flag. Default now 2015-12-03 08:53:32 -08:00
static Cache json endpoints (#348) 2016-07-19 14:53:25 -07:00
templates Cache json endpoints (#348) 2016-07-19 14:53:25 -07:00
.bowerrc update to polymer 1.2.3 2015-11-17 09:11:51 -08:00
.gitignore minify vulcanized csp js 2015-07-30 12:32:05 -07:00
.gitmodules Add http2push-gae 2015-10-13 15:13:53 -07:00
Gruntfile.js Update built css files. Use grunt-sass instead. Fixes #292 2016-07-08 13:37:30 -07:00
LICENSE Apache2 license 2016-07-08 13:09:02 -07:00
README.md README: add info on settings.py 2016-07-11 11:37:51 -07:00
README.txt Added cron job to fetch chromium histograms 2015-02-10 18:31:50 +01:00
admin.py Merge pull request #270 from beaufortfrancois/fixComma 2016-03-10 08:51:08 -08:00
app.yaml Update README with deploy instructions 2016-07-08 12:41:10 -07:00
bower.json Update npm deps to prevent install errors. Also bump Polymer 2016-07-08 12:04:57 -07:00
bulkloader.yaml Some changes to the saved bulkdata to better match what's in production now. 2014-08-01 12:51:28 -04:00
bulkloader_helpers.py bulk loader scripts 2013-07-21 16:50:20 -05:00
common.py Cache json endpoints (#348) 2016-07-19 14:53:25 -07:00
config.rb Init commit of chromium feature dashboard 2013-03-07 10:29:38 -08:00
cron.yaml Run job at night 2016-03-11 14:27:49 -08:00
import.csv Some changes to the saved bulkdata to better match what's in production now. 2014-08-01 12:51:28 -04:00
index.yaml Update npm deps to prevent install errors. Also bump Polymer 2016-07-08 12:04:57 -07:00
metrics.py Cache json endpoints (#348) 2016-07-19 14:53:25 -07:00
models.py Rename experimental framework to origin trial (#347) 2016-07-18 10:52:33 -07:00
package.json Update built css files. Use grunt-sass instead. Fixes #292 2016-07-08 13:37:30 -07:00
push_manifest_features.json Be more selective on what gets pushed and when 2015-12-01 16:14:20 -08:00
push_manifest_metrics.json Fixes #249 2015-12-14 18:16:53 -08:00
server.py Align feature page icons with feature list (#332) 2016-07-14 12:38:57 -07:00
settings.py Cache json endpoints (#348) 2016-07-19 14:53:25 -07:00
users.py Consider Opera as a Chromium-based browser 2014-02-21 08:32:00 +01: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 node/npm. Next, install bower and the npm deps:

npm install -g bower
npm install

This will also pull down bower_components and run grunt 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.

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 Ince. All rights reserved.

Apache2 License.

Analytics