Skip to content

Latest commit

 

History

History
 
 

README.md

Front-end client

Please also refer to the main contributing guide.

Installing

Running the client requires Google App Engine, which can be installed using the Google Cloud SDK.

Once you have the Cloud SDK installed, install App Engine for Python by running:

gcloud components install app-engine-python

Altenatively, you may install the App Engine SDK for Python directly.

Building

cd client && npm install

Using yarn:

cd client && yarn

Running

Run using either of these commands:

npm run client
dev_appserver.py client/client.yaml

Running locally will use the production API server. To override the backend instance set the instance parameter:

localhost:8080/element/PolymerElements/app-layout?instance=custom-elements-staging.appspot.com

Testing

wct --skip-plugin sauce

Deploying to staging

After a PR is merged for a client change, staging is automatically updated by travis on a successful build.

Deploying to prod

cd client
npm run build
gcloud app deploy --no-promote build/client.yaml