日本語 | English | Spanish | Korean | Chinese (Taiwan) | Chinese (Simplified) | Vietnamese | Thai | French
如果您能对 Issus 中做出各式各样的修改协助,我们将不胜感激。
详细请参照如何贡献。
详细请参照建站行动原则。
本软件采用MIT授权条款。
[please translate me]
Please check How to translate doc.
[/please translate me]
- Node.js 版本最低需求: 10.19.0以上
使用 yarn 时
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn dev使用 docker compose 时
# serve with hot reload at localhost:3000
$ docker-compose up --build[please translate me]
- VSCodeの拡張機能「Remote Development」を導入します。
- この画像(外部サイト)のように左下部の「Open Folder in Container」でこのリポジトリのルートを選択すれば環境構築が始まります。
[Topic]
- 設定を変更したい場合は、
.devcontainer/devcontainer.jsonを修正してください。
詳細はdevcontainer.jsonのリファレンスを参照してください。 - Remote Container実行時のみ有効な拡張機能「ESlint」を導入していますが、必要に応じて
devcontainer.jsonのextensionsに追加してください。
詳細な手順はこちら(外部サイト)を参照してください。 - 開発環境を再構築する場合は、左下部の「Rebuild Container」を実行してください。 [/please translate me]
On the production environment, 'production' is assigned to process.env.GENERATE_ENV variable, on the other case 'development' is assigned to the variable.
Please use the variable to detect which enviroinment is used at the runtime.
master 分支更新時,自动将 production 分支中的HTML类(build)后发布到正式版 https://stopcovid19.metro.tokyo.lg.jp/
staging 分支更新時,自动将 gh-pages 分支中的HTML类(build)后发布到Staging版 https://stg-covid19-tokyo.netlify.com/
development 分支更新時,自动将 dev-pages 分支中的HTML类(build)后发布到开发版 https://dev-covid19-tokyo.netlify.com/
