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

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)