You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/10/09 01:02:39 UTC

[GitHub] [apisix-dashboard] nic-chen opened a new issue #542: feat:[refactor] embedding static files into Go binaries

nic-chen opened a new issue #542:
URL: https://github.com/apache/apisix-dashboard/issues/542


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [ ] Bug
   - [x] Requirements
   - [x] Feature or performance improvement
   - [ ] Other
   
   ___
   ### Requirement or improvement
   
   We need to embed static files into Go binaries, 
   
   so that we don't need to deploy an additional nginx ,
   
   and it will be very easy to use.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] juzhiyuan commented on issue #542: feature: [refactor] embedding static files into Go binaries

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #542:
URL: https://github.com/apache/apisix-dashboard/issues/542#issuecomment-709684674


   cc @nic-chen @gxthrj Could anyone help @bzp2010 to resolve this problem?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] bzp2010 edited a comment on issue #542: feature: [refactor] embedding static files into Go binaries

Posted by GitBox <gi...@apache.org>.
bzp2010 edited a comment on issue #542:
URL: https://github.com/apache/apisix-dashboard/issues/542#issuecomment-709683506


   Work branch: [Click Here](https://github.com/bzp2010/apisix-dashboard/pull/1)
   Github Workflow: [Click Here](https://github.com/bzp2010/apisix-dashboard/blob/master/.github/workflows/api_newci.yml)
   
   ## implemention
   > The virtual file system provided by `rakyll/statik` is used to store files (static files are actually stored in `statik.go` files in the form of strings), and then a new routing path `/dashboard/` is established by using the gin framework to provide static file services.
   
   ## feature
   - [x] modify some front end codes
   - [x] Packing (It worked on my own computer)
   > It's use [rakyll/statik](https://github.com/rakyll/statik) library.
   - [x] build by Github Actions
   
   ## problem 
   - The binary program provided by `rakyll/statik` is used for packaging, but after executing the go get instruction in GitHub Actions, the program is not in the PATH env and needs to be processed.    
   > Error Message like this:
   main.go:18: running "statik": exec: "statik": executable file not found in $PATH
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] bzp2010 commented on issue #542: feature: [refactor] embedding static files into Go binaries

Posted by GitBox <gi...@apache.org>.
bzp2010 commented on issue #542:
URL: https://github.com/apache/apisix-dashboard/issues/542#issuecomment-709683506


   Work branch: [Click Here](https://github.com/bzp2010/apisix-dashboard/pull/1)
   Github Workflow: [Click Here](https://github.com/bzp2010/apisix-dashboard/blob/master/.github/workflows/api_newci.yml)
   
   ## feature
   - [x] Packing (It worked on my own computer)
   > It's use [rakyll/statik](https://github.com/rakyll/statik) library.
   - [ ] build by Github Actions
   
   ## problem 
   - The binary program provided by `rakyll/statik` is used for packaging, but after executing the go get instruction in GitHub Actions, the program is not in the path directory and needs to be processed.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] juzhiyuan commented on issue #542: feature: [refactor] embedding static files into Go binaries

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #542:
URL: https://github.com/apache/apisix-dashboard/issues/542#issuecomment-705993245


   @bzp2010 is working on this issue, please let @nic-chen know whenever there have any blocker issues.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] bzp2010 edited a comment on issue #542: feature: [refactor] embedding static files into Go binaries

Posted by GitBox <gi...@apache.org>.
bzp2010 edited a comment on issue #542:
URL: https://github.com/apache/apisix-dashboard/issues/542#issuecomment-709683506


   Work branch: [Click Here](https://github.com/bzp2010/apisix-dashboard/pull/1)
   Github Workflow: [Click Here](https://github.com/bzp2010/apisix-dashboard/blob/master/.github/workflows/api_newci.yml)
   
   ## feature
   - [x] Packing (It worked on my own computer)
   > It's use [rakyll/statik](https://github.com/rakyll/statik) library.
   - [ ] build by Github Actions
   
   ## problem 
   - The binary program provided by `rakyll/statik` is used for packaging, but after executing the go get instruction in GitHub Actions, the program is not in the PATH env and needs to be processed.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] juzhiyuan closed issue #542: feature: [refactor] embedding static files into Go binaries

Posted by GitBox <gi...@apache.org>.
juzhiyuan closed issue #542:
URL: https://github.com/apache/apisix-dashboard/issues/542


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] bzp2010 edited a comment on issue #542: feature: [refactor] embedding static files into Go binaries

Posted by GitBox <gi...@apache.org>.
bzp2010 edited a comment on issue #542:
URL: https://github.com/apache/apisix-dashboard/issues/542#issuecomment-709683506


   Work branch: [Click Here](https://github.com/bzp2010/apisix-dashboard/pull/1)
   Github Workflow: [Click Here](https://github.com/bzp2010/apisix-dashboard/blob/master/.github/workflows/api_newci.yml)
   
   ## implemention
   > The virtual file system provided by `rakyll/statik` is used to store files (static files are actually stored in `statik.go` files in the form of strings), and then a new routing path `/dashboard/` is established by using the gin framework to provide static file services.
   
   ## feature
   - [x] modify some front end codes
   - [x] Packing (It worked on my own computer)
   > It's use [rakyll/statik](https://github.com/rakyll/statik) library.
   - [ ] build by Github Actions
   
   ## problem 
   - The binary program provided by `rakyll/statik` is used for packaging, but after executing the go get instruction in GitHub Actions, the program is not in the PATH env and needs to be processed.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] juzhiyuan edited a comment on issue #542: feature: [refactor] embedding static files into Go binaries

Posted by GitBox <gi...@apache.org>.
juzhiyuan edited a comment on issue #542:
URL: https://github.com/apache/apisix-dashboard/issues/542#issuecomment-709684674


   cc @nic-chen @gxthrj @ShiningRush  Could anyone help @bzp2010 to resolve this problem?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] juzhiyuan commented on issue #542: feature: [refactor] embedding static files into Go binaries

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #542:
URL: https://github.com/apache/apisix-dashboard/issues/542#issuecomment-705993245


   @bzp2010 is working on this issue, please let @nic-chen know whenever there have any blocker issues.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] bzp2010 edited a comment on issue #542: feature: [refactor] embedding static files into Go binaries

Posted by GitBox <gi...@apache.org>.
bzp2010 edited a comment on issue #542:
URL: https://github.com/apache/apisix-dashboard/issues/542#issuecomment-709683506


   Work branch: [Click Here](https://github.com/bzp2010/apisix-dashboard/pull/1)
   Github Workflow: [Click Here](https://github.com/bzp2010/apisix-dashboard/blob/master/.github/workflows/api_newci.yml)
   
   ## implemention
   > The virtual file system provided by `rakyll/statik` is used to store files (static files are actually stored in `statik.go` files in the form of strings), and then a new routing path `/dashboard/` is established by using the gin framework to provide static file services.
   
   ## feature
   - [x] modify some front end codes
   - [x] Packing (It worked on my own computer)
   > It's use [rakyll/statik](https://github.com/rakyll/statik) library.
   - [ ] build by Github Actions
   
   ## problem 
   - The binary program provided by `rakyll/statik` is used for packaging, but after executing the go get instruction in GitHub Actions, the program is not in the PATH env and needs to be processed.    
   > Error Message like this:
   main.go:18: running "statik": exec: "statik": executable file not found in $PATH
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org