Coder Social home page Coder Social logo

joremysh / covid19 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pichuchen/covid19

0.0 1.0 0.0 318.93 MB

COVID-19 資料整理站 (台灣版) / 新型コロナウイルス感染症対策サイト / COVID-19 Task Force website

Home Page: https://stopcovid19.pichuchen.tw/

License: MIT License

CSS 2.19% Vue 82.11% JavaScript 0.27% Python 1.04% PHP 2.56% TypeScript 5.46% Dockerfile 0.12% HTML 1.94% Go 2.89% Shell 1.41%

covid19's Introduction

台灣非官方 COVID-19 資料整理站 | 皮丘版

台灣非官方 COVID-19 資料整理站 | 皮丘版

這個網站

這個網站主要是從東京都新型冠狀肺炎對策網站分支出來的台灣版網站,工作語言以中文以及英文為主。 原則上我個人鼓勵自己動手建立自己的版本,但是也很歡迎發送 PR 到這邊來改這個版本,或者是到 g0v 的 slack 上面討論可以新增什麼資料。

目前已經有其他同類型的資料整理站或是平台了,因此這個站主要定位的功能會在於可用性(對不同平台、語系、IPv6、載入速度)。資料更新的部分採用手動更新的方式以降低對 API 提供者的負擔。

如何貢獻

如果您能對 Issues 中做出各式各樣的修正協助,我們將不勝感激。

詳情請洽如何貢獻

行動原則

詳情請洽建立網站的行動原則

授權

本軟體採 MIT 授權條款釋出。

從這個網站衍生出來的東西

請參考此連結

給翻譯者的資訊

有要幫忙翻譯的話,請參考 這個文件

給開發者的資訊

開發環境建置

  • Node.js 版本最低需求:10.19.0 以上

使用 yarn 的做法

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

取消可用性檢查(vue-axe)的方法

  • 如果本機開發伺服器負擔重時,以下方法可在關閉可用性檢查的狀況下進行啟動。
# serve with hot reload at localhost:3000
$ yarn dev-no-axe

使用 docker compose 的做法

# serve with hot reload at localhost:3000
$ docker-compose up --build

使用 Vagrant 的做法

# serve with hot reload at localhost:3000
$ vagrant up

Cannot find module **** 卡住時

使用 yarn 的做法

$ yarn install

使用 docker compose 的做法

$ docker-compose run --rm app yarn install

VSCode + Remote Containers 的開發環境

  1. 安裝 VSCode 的擴充套件「Remote Development」。
  2. 如同 這個圖像(外部連結)點擊左下角的 「Open Folder in Container」 後選擇 Repository 的資料夾路徑開始建立環境。

提示

  • 如果想要變更設定,請更改 .devcontainer/devcontainer.json 這隻檔案。 詳細請參考 devcontainer.json的參考值
  • Remote Container 啟動時擴充套件只有導入 「ESlint」、如果有必要,請在 devcontainer.jsonextensions 中新增。 詳細的步驟請參考 這裡(外部連結)
  • 如果要重新建立開發環境,請執行左下角的 「Rebuild Container」。

生產環境/其他環境的判定

關於 process.env.GENERATE_ENV 這個值 ,生產環境為 'production' ,除此之外為 'development'
如果只想要在測試環境中執行的話,請利用這個值作為參考。

Deploy 到 Staging 環境以及正式環境的方法

pichu-master 分支被更新時,HTML 檔案將會在 pichu-master-pages 分支中被 build 起來,然後正式版兼開發版網站 https://stopcovid19.pichuchen.tw/ 會被更新。

分支規則

只允許推送 Pull Request 到 developmentdev-i18ndev-hotfix
在推送 Pull Request 時,請依照以下命名規則為您的分支命名

新增功能: feature/#{ISSUE_ID}-#{branch_title_name}
Hotfix: hotfix/#{ISSUE_ID}-{branch_title_name}

基本分支

目的 分支 預覽用 URL 備註
開發=正式 pichu-master https://stopcovid19.pichuchen.tw/ 基本上請推送 Pull Request 到這裡

系統所使用的分支

目的 分支 預覽用 URL 備註
正式網站 HTML pichu-master-pages https://stopcovid19.pichuchen.tw/ 生成靜態網站 HTML 的位置
OGP 工作用 deploy / new_ogp OGP 更新用

其他分支

其他分支是從東京都版本 Merge 回來或者是發送 PR 給東京都版本時用的。

covid19's People

Contributors

halsk avatar github-actions[bot] avatar yokinist avatar mikkame avatar maysomusician avatar nard-tech avatar pichuchen avatar shgtkshruch avatar transifex-integration[bot] avatar kaizumaki avatar actions-user avatar osoken avatar kebhr avatar himatani avatar munierujp avatar potato4d avatar macropygia avatar af12066 avatar amotarao avatar yasu avatar oti avatar kentaroutakeda avatar daitasu avatar kawokas avatar shunito avatar djyoko avatar soutaito avatar smellman avatar rozeo avatar nichesuch avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.