Changeset View
Changeset View
Standalone View
Standalone View
web/README-static.md
| # Static Web Files | # Static Web Files | ||||
| Files in the `static` directory will get embedded into the Flamenco Manager | Files in the `static` directory will get embedded into the Flamenco Manager | ||||
| executable, and served as static files via its web server. | executable, and served as static files via its web server. | ||||
| - `make webapp-static` clears it out and builds the webapp there. It also ZIPs | - `make webapp-static` clears it out and builds the webapp there. It also ZIPs | ||||
| the Blender add-on, and places it in there as well. | the Blender add-on, and places it in there as well. | ||||
| - `make clean-webapp-static` just does the clearing of the files. | - `make clean-webapp-static` just does the clearing of the files. | ||||
| `static/emptyfile` exists just to make sure that `go:embed` inside `web_app.go` | `static/emptyfile` exists just to make sure that `go:embed` inside `web_app.go` | ||||
| has something to work with, even before any static files have been built. | has something to work with, even before any static files have been built. | ||||
| # Running Flamenco Io locally | |||||
sybren: This should be something like "Running the `flamenco.io` website locally". The "static web… | |||||
Done Inline ActionsAh, good call. nrupsis: Ah, good call. | |||||
| [Flamenco IO](https://www.flamenco.io/) runs off of [Hugo](https://gohugo.io/). Once Hugo is [installed](https://gohugo.io/getting-started/installing/), from the `web/flamenco-io-site` directory, start the server with: | |||||
| ``` | |||||
| hugo server -D | |||||
| ``` | |||||
This should be something like "Running the flamenco.io website locally". The "static web files" mentioned in the section above is about the Flamenco Manager webapp, not the website, so it's good to make this distinction more explicit.