ccfos / nightingale

An all-in-one observability solution which aims to combine the advantages of Prometheus and Grafana. It manages alert rules and visualizes metrics, logs, traces in a beautiful web UI.
https://flashcat.cloud/docs/
Apache License 2.0
9.42k stars 1.38k forks source link

本地如何运行夜莺后端 #2018

Closed LionCastle closed 1 month ago

LionCastle commented 1 month ago

1.准备了go环境、拉取了代码、加载了依赖 2.执行 go build ./cmd/center/main.go后 会生成mian.exe 3.我执行mian.exe,没有任何反应。 1719454866828

请问:本地如何启动运行呢?有文档可以参考吗

UlricQin commented 1 month ago

没有运行的截图,这是一个 bad issue。就在 Nightingale-main 目录里执行 .\cmd\center\main.exe 不可能没有任何输出

LionCastle commented 1 month ago

@UlricQin 你好,那我怎么在本地运行呢?有运行文档吗

UlricQin commented 1 month ago

开源软件一般都提供 Makefile 来编译,编译完成之后,就跟二进制方式的运行方法一致。

1.确保配置文件都改好了,尤其是mysql、redis等的连接地址 2.确保网络通畅,执行 make 命令 3.启动夜莺即可 ./n9e