sensordb2 a8f8f1ae37 修改.gitignore配置 1 rok pred
..
node_modules e64a8defe5 3.17 1 rok pred
static e64a8defe5 3.17 1 rok pred
test dc055bd12b 初始版本 2 rokov pred
.eslintrc dc055bd12b 初始版本 2 rokov pred
README.md dc055bd12b 初始版本 2 rokov pred
bindata.go a8f8f1ae37 修改.gitignore配置 1 rok pred
buildWeb.sh e64a8defe5 3.17 1 rok pred
gulp dc055bd12b 初始版本 2 rokov pred
gulpfile.js dc055bd12b 初始版本 2 rokov pred
http.go a8f8f1ae37 修改.gitignore配置 1 rok pred
http_test.go dc055bd12b 初始版本 2 rokov pred
insertWebToGo.sh e64a8defe5 3.17 1 rok pred
logger.go dc055bd12b 初始版本 2 rokov pred
notify.go dc055bd12b 初始版本 2 rokov pred
nsqadmin.go dc055bd12b 初始版本 2 rokov pred
nsqadmin_test.go dc055bd12b 初始版本 2 rokov pred
options.go dc055bd12b 初始版本 2 rokov pred
package-lock.json dc055bd12b 初始版本 2 rokov pred
package.json dc055bd12b 初始版本 2 rokov pred
static.go dc055bd12b 初始版本 2 rokov pred
static_legacy.go dc055bd12b 初始版本 2 rokov pred

README.md

nsqadmin

nsqadmin is a Web UI to view aggregated cluster stats in realtime and perform various administrative tasks.

Read the docs

Local Development (Go 1.16+)

Dependencies

  1. Install NodeJS 16.x (includes npm)
  2. Install go-bindata (for "legacy" go < 1.16)

Live Reload Workflow

  1. $ npm install
  2. $ ./gulp --series clean watch
  3. $ cd .. && make && ./build/nsqadmin --dev-static-dir=nsqadmin/static/build --lookupd-http-address=<...>
  4. make changes to static assets (repeat step 3 only if you make changes to any Go code)

Build

  1. $ ./gulp --series clean build
  2. $ go-bindata --pkg=nsqadmin --prefix=static/build/ static/build/... (for "legacy" go < 1.16)