Polymer-Japan / polymer-project.org-docs-jp

[WIP] polymer-project.org Japanese docs

Home Page:https://github.com/Polymer-Japan/translation/wiki/201812-Polymer-Project-JP-translate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polymer documentation site

https://www.polymer-project.org/

Install

The documentation site runs in Google App Engine, using the App Engine Python standard environment. Before you start you'll need the following prerequisites:

  • Python 2.7

  • Google Cloud SDK

  • App Engine Python standard environment. Ensure this is installed by running the following command:

    gcloud components install app-engine-python
    

    Or, if you installed via apt:

    sudo apt-get install google-cloud-sdk-app-engine-python
    

Set up your repo:

git clone https://github.com/Polymer/docs
cd docs
npm install

Running the site

The first time you run the site, run npm run build to build the site in its entirety:

npm run build

Then start the App Engine dev server:

npm run serve

The site will be served from http://localhost:8080.

Deployment

Build and deploy a new version of the site:

npm run deploy

The site will be staged at a new URL (e.g. https://20181207t151022-dot-polymer-project.appspot.com). When ready, go to the App Engine console to migrate traffic to the new version.

About

[WIP] polymer-project.org Japanese docs

https://github.com/Polymer-Japan/translation/wiki/201812-Polymer-Project-JP-translate


Languages

Language:HTML 96.9%Language:CSS 2.1%Language:Python 0.6%Language:JavaScript 0.5%