2022-06-30 15:41:36 +00:00
# Static Web Files
Files in the `static` directory will get embedded into the Flamenco Manager
executable, and served as static files via its web server.
- `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.
- `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`
has something to work with, even before any static files have been built.
2022-07-12 08:58:55 +00:00
2022-07-12 09:04:22 +00:00
# Running static flamenco.io site locally
2022-07-12 08:58:55 +00:00
2022-07-25 14:10:39 +00:00
The [Flamenco website ](https://flamenco.blender.org/ ) runs off of [Hugo ](https://gohugo.io/ ).
2022-07-12 09:04:22 +00:00
Hugo is automatically installed when running `make with-deps` , but you can also [manually install Hugo ](https://gohugo.io/getting-started/installing/ ).
2022-07-25 12:42:30 +00:00
To locally run the site, from the `web/project-website` directory, start the server with:
2022-07-12 08:58:55 +00:00
```
hugo server -D
```
2022-07-12 09:04:22 +00:00
Then visit https://localhost:1313/ in a webbrowser.