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

Go get to install find #32

Open
lafolle opened this issue Apr 18, 2016 · 2 comments
Open

Go get to install find #32

lafolle opened this issue Apr 18, 2016 · 2 comments
Labels

Comments

@lafolle
Copy link

lafolle commented Apr 18, 2016

It would be great if we could just go get github.com/schollz/find to install find rather than 3 steps to manually build.

2 problems will arise because of this:

  1. name collision with existing find (linux) command
  2. relative paths are used to specify static content for dashboard. (easier to fix)

Thanks,
lafolle

@schollz
Copy link
Owner

schollz commented Apr 18, 2016

Lol I forgot about the name collision. I could change the name. Since its written in Golang it could be "gofind".

For (2), there are a couple of solutions. The easiest is to fix the path issue so that it still points to the static content. In reality though, I use NGINX/Caddy to serve the static content so it doesn't matter where the program thinks it is as it never pulls it (though you would need to define the path to DB still). I think I'd rather try to build the static content into the binary using gorice or something. I've never done that and would like to learn it.

@lafolle
Copy link
Author

lafolle commented Apr 19, 2016

You can also check this out => https://github.com/elazarl/go-bindata-assetfs

PS: In case you've don't find time, i'll be glad to help. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants