Nezha Theme Development Environment
Nezha Monitoring provides a theme development environment that you can use to create new Nezha Monitoring themes
WARNING
Please note: This development environment only supports dashboard v0.13.16
and newer versions.
How to use
- Clone this repository to local
- Modify the Oauth2 configuration in
data/config.yaml
(The callback connection can be filled withhttp://localhost
) - Run
docker-compose up
- Start development
- Once the theme has been created, you can place
theme-custom
in/opt/nezha/dashboard/theme-custom
on the server
FAQ
- If you can't use port
80
, change the configuration indocker-compose.yaml
.