Closed brownchow closed 4 years ago
Hi brownchow
Check out https://github.com/rakyll/statik, the maintainer says to run $ statik -src=/path/to/your/project/public
to generate a package of all files to be served.
thank you kamilkabir9, I read https://github.com/rakyll/statik
mannual, and run /d/golang/bin/statik.exe -src=./website
in project root directory, it generates a dir called statik/
, and then it works!
thanks a lot!
Hello kamilkabir9! I clone this repository to my computer directory
/d/golang/src/github.com/kamilkabir9/LDrop
,then I change to that directory and executego build .
, the console output isI find in
LDrop.go
line 10, you import_ "github.com/brownchow/LDrop/statik" // NOTE: Replace with the absolute import path
,but in.gitignore
, you ignorestatik/
, so there may be some thing wrongthen I download
LDrop_windows_amd64.exe
from release page, It works fine!I do this in windows10