Closed qdm12 closed 2 years ago
Sorry for the late reply, been too busy IRL.
It's erroring out because it can't find the font files. I'll see what I can do with these assets.
@qdm12 give the latest commit a try if it's ok
Nice 👍 I think it's moving forward but I get:
WARN[0000] No config file found in search paths, using default values
INFO[0000] Fetched server coordinates: 45.508800, -73.587800
WARN[0000] Configured asset path does not exist or is not a directory, using default assets
INFO[0000] Starting backend server on :8989
Is the Configured asset path does not exist or is not a directory, using default assets
expected?
I also made #30 and #29 to push the everything-in-the-binary even further, with an aim to run it on a scratch Docker image 😉 I may do a few PRs, it's a fun project 👍
Yes, that's expected, the default assets are now embedded into the binary, but you can also provide your own frontend in the assets
folder if you wish.
And thanks for your PR, I saw the email and thought it was an issue, and just added those to the code, so I'll close the PRs.
Thanks a lot for your great suggestions! :)
just added those to the code, so I'll close the PRs.
No problem! I'll definitely toy with the project this weekend 😉
I think we can close this. Maybe would you mind making a new release tag? I think a bunch of us would be happy not to have directories together with the binary 🤔
Of course, I'll tag a new release later today
I'm installing it on an Alpine Docker container:
Running it with:
It fails with:
Maybe this is due to the way it's packaged on the Alpine testing branch though, I'm not sure.
EDIT: Maybe you could use Go 1.16's embed feature to bundle all the files in the binary? That would certainly help!