TrueNAS WebUI

这是用于 TrueNAS CORE 和 TrueNAS SCALE 的 Angular.io WebUI 项目。「This is the project for the Angular.io WebUI for TrueNAS CORE & TrueNAS SCALE.」

  • 所有者: truenas/webui
  • 平台: Docker, Linux, Mac, Windows
  • 许可证: GNU General Public License v3.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

TrueNAS WebUI

Latest Docker Image - master

This is the project for the Angular.io WebUI for TrueNAS CORE & TrueNAS SCALE.

Testing Images

You can download and test running the latest version of the TrueNAS WebUI anytime using pre-built docker images.

Images only require the environment variable TNIP to be set to the IP or Hostname of your local TrueNAS instance.

Example:

# docker container run -it -e TNIP=192.168.0.30 -p 8080:80 ixsystems/truenas-webui:latest

This would allow you to access the running WebUI on http://localhost:8080

NOTE: Pull requests are also generated as Docker images and can be used for testing by replacing the ":latest" tag with the pull-request ID. I.E. "ixsystems/truenas-webui:5010"

Development requirements

  • yarn >= 1.12
  • Node.js >= 8.9
  • Running TrueNAS CORE or TrueNAS SCALE Nightly Machine (VM is fine)

Getting started

Install the development requirements (FreeBSD 11 or later):

# pkg install yarn

Checkout TrueNAS git repository:

$ git clone https://github.com/truenas/webui.git
$ cd webui

Install yarn packages:

$ yarn install

Run the environment configuration script
(if your ip address changes later you may repeat this step)

$ ./setup_env.js -i <ip address or FQDN of the server where TrueNAS is running>

To start run
yarn start
This runs a local webserver with the new WebUI, by default at http://localhost:4200.
If this webserver is kept running, changes to the project will be rebuilt incrementally.
To test AOT in dev mode run
yarn run start:dev:aot
To run the production build, run
yarn run build:prod:aot
Getting errors about missing packages?
yarn install
Getting permission errors or Failed messages when trying to run yarn start?
From the webui repo

rm -rf node_modules (may need root)
rm yarn.lock 
yarn cache clean --force
yarn install

This should bring the yarn environment back to a useable state.

Translating Text to Other Languages

All JSON files for translating TrueNAS's web interface are included in this repository under src/assets/i18n.
These can be edited using your editor of choice or directly via the GitHub Web based code editing system.
Some strings may use ICU Message Format for pluralization.
You can move tokens around and adjust them for your language.
For example:

Deleted {n, plural, one {# snapshot} other {# snapshots}}

can be translated in Russian as:

{n, plural, =1 {Снимок удален} few{# снимка удалено} other {# снимков удалено}}

You can test your strings in an online editor.
Stock images used on the dashboard UI are courtesy of Pixabay.com and are subject to the Simplified Pixabay License.
Full license details can be found at https://pixabay.com/service/license/.

主要指标

概览
名称与所有者truenas/webui
主编程语言TypeScript
编程语言JavaScript (语言数: 8)
平台Docker, Linux, Mac, Windows
许可证GNU General Public License v3.0
所有者活动
创建于2017-05-02 14:42:01
推送于2025-04-19 08:00:25
最后一次提交2025-04-19 11:00:24
发布数197
最新版本名称TS-25.04.0 (发布于 )
第一版名称11.0-RC (发布于 )
用户参与
星数414
关注者数35
派生数330
提交数25.5k
已启用问题?
问题数0
打开的问题数0
拉请求数11021
打开的拉请求数8
关闭的拉请求数828
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?