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

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)