You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change PREFIX in Makefile to something other than /usr/local (example - /usr)
# make
...
# make install
...
# nsqadmin
2012/12/24 12:27:57 nsqadmin v0.2.16-alpha
2012/12/24 12:27:57 --template-dir must be specified (or install the templates to /usr/local/share/nsqadmin/templates)
What expected - nsqadmin to use templates from /usr/share/nsqadmin/templates directory
The text was updated successfully, but these errors were encountered:
It does have hardcoded default paths, however we added a command line paramater to nsqadmin called --template-dir so that you could specify an alternative directory at runtime.
we chose not to overly complicate the makefile and have it modify code before compiling, although admittedly it could do that (perhaps via code generation, or search/replace, etc.).
May be, it may be calculated at compile time?
How to reproduce:
Change PREFIX in Makefile to something other than /usr/local (example - /usr)
What expected - nsqadmin to use templates from /usr/share/nsqadmin/templates directory
The text was updated successfully, but these errors were encountered: