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.19.20 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
- After completing the theme creation, you can place
theme-custom(frontend theme),static-custom(frontend theme static files), anddashboard-custom(backend theme) into the/opt/nezha/dashboard/directory on the server (if installed using Docker).
FAQ
- If you can't use port
80, change the configuration indocker-compose.yaml.