尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Frontend Code for https://energie.wifo.ac.at
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Joint project by Johannes Schmidt and me. This repository provides the frontend code for the monitor webpage.
Any contribution is welcome, start by cloning this repo:
The website uses webpack as bundler and the javascript framework Vue.js.
The visualisations are created by the gen-vis library which is build on top of Vue.js and d3.
To run the monitor website locally in dev mode:
cd web
npm install
npm run dev檢視完整 README ↗Joint project by Johannes Schmidt and me. This repository provides the frontend code for the monitor webpage.
Any contribution is welcome, start by cloning this repo:
git clone https://github.com/energy-monitor/web.git
The website uses webpack as bundler and the javascript framework Vue.js. The visualisations are created by the gen-vis library which is build on top of Vue.js and d3.
To run the monitor website locally in dev mode:
cd web
npm install
npm run dev
To try changes of gen-vis, its checkout at ../../gen-vis (next to the energy folder) is linked with npm run link-gen-vis, with npm run watch in gen-vis the dev server takes its changes. npm run unlink-gen-vis installs the version of package.json again, npm run check and so a deploy fail while it is linked.
The build (npm run build) also writes an html file for each page, e.g. collection/gas.html for /collection/gas. Each file has the page's title, description, canonical url, and its text and chart titles for search engines, plus sitemap.xml and robots.txt, see build/pages.js and assets/.htaccess.
The charts are gen-vis definitions in data/, their id is the path without .json, e.g. gas/price. The CSVs are written by the export scripts of the explore repository and are not part of this repository.
electricity, gas, oil, coal, fossil (totals of the fossil fuels), wood, mobility, weather, economy.<measure>[-<form>]: without a form the chart compares the years (one line per year), otherwise -stacked (monthly stacked bars), -map (europe map), -hourly (daily profile) or -countries.gas/price.json and gas/price.csv._ are parents, not charts. The ones in data/ are combined as mixins, e.g. "parent": ["../_years.json", "../_facets.json", "../_scale-switch.json"]:
_years.json: one line per year, x is the day of the year, y the column value_years-cum.json: _years with the facets rolling mean and cumulated_timeline.json: x is the column date with monthly ticks, y the column value_stacked.json: _timeline as monthly stacked bars, the stacks are the mapping type_facets.json: facets by the mapping facet_scale-switch.json: switch between separate and shared y scales of the facets_share-switch.json: switch between the values and their shares, the column value.share_facet-toggle.json: the facets can be switched on and off in the legend_monthly.json: monthly data of _years, the month in the hover, smoothed lines (monotoneX)_line-types.json: line styles (stroke-dasharray) of the mapping type in addition to the years, e.g. mean, min and max_europe-map.json: a map of Europe ("coord": "geo", the geometry assets/geo/europe.json), the countries by the mapping country with their German names, colored by the mapping valueelectricity/_sources.json with the colors of the energy sources.build/_base.jsbuild/charts.js"coord": "geo"src/globals.jsaliases of src/globals.js, e.g. for embedded /single/ urls.data/pages/.