Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installing improvements #46

Merged
merged 2 commits into from
Oct 8, 2012
Merged

installing improvements #46

merged 2 commits into from
Oct 8, 2012

Conversation

mreiferson
Copy link
Member

make it a bit easier cc @jehiah

cd ../nsqadmin
go build
echo " installing nsqadmin in $DEST"
cp nsqadmin $DEST
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nsqadmin is slightly more complicated because we need to copy the templates somewhere. Ideas on where that should/would/could go?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C1.medium?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose /usr/local/share makes the most sense (read-only architecture independent data) by default?

also, we should either prompt for directories (and provide defaults) or provide command line options (with defaults)... any preference? Arguably we're delving into Makefile like functionality that perhaps means thats what it should be...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it currently uses a command line option with a default of a relative "templates" directory so that it's runnable w/o specifying that parameter from the command line when run from the source tree. We could implement some sort of search path, or just make people specify the full path.

I disappointed with the lack of standard ways to bundle the templates into the binary (without making them raw strings in a go file).

@mreiferson
Copy link
Member Author

ready @jehiah

@jehiah
Copy link
Member

jehiah commented Oct 8, 2012

nice updated on the template path handling

jehiah added a commit that referenced this pull request Oct 8, 2012
@jehiah jehiah merged commit 830b3c8 into nsqio:master Oct 8, 2012
arussellsaw pushed a commit to arussellsaw/nsq that referenced this pull request Mar 5, 2018
restore SetMaxInFlight dropped in refactoring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants