docs: fix build-from-sources docs mistake (#2251)
While attempting to build on OpenBSD without having built the frontend, I ran into the following error: `frontend/embed.go:21:12: pattern dist: no matching files found` I saw in the docs to create a directory and touch a file, this resulted in a second error: `frontend/embed.go:21:12: pattern dist: cannot embed directory dist: contains no embeddable files` Creating the index.html file inside the new directory allowed me to build Vikunja Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2251 Co-authored-by: Raymi306 <raymi306@gmail.com> Co-committed-by: Raymi306 <raymi306@gmail.com>
This commit is contained in:
parent
3e77e3043e
commit
1adaa73141
@ -35,7 +35,7 @@ That means compiling it boils down to these steps:
|
||||
|
||||
1. Make sure [Go](https://golang.org/doc/install) is properly installed on your system. You'll need at least Go `1.21`.
|
||||
2. Make sure [Mage](https://magefile.org) is properly installed on your system.
|
||||
3. If you did not build the frontend in the steps before, you need to either do that or create a dummy index file with `mkdir -p frontend/dist && touch index.html`.
|
||||
3. If you did not build the frontend in the steps before, you need to either do that or create a dummy index file with `mkdir -p frontend/dist && touch frontend/dist/index.html`.
|
||||
4. Run `mage build` in the source of the main repo. This will build a binary in the root of the repo which will be able to run on your system.
|
||||
|
||||
### Build for different architectures
|
||||
|
Loading…
x
Reference in New Issue
Block a user