flamenco/web/README-static.md
Francesco Siddi 05e82ea5e4 Website: Update deployment script
The flamenco.io website moves to flamenco.blender.org!
This commit updates the Makefile as follows:

- Rename 'site' to 'project-website', so the new command to deploy is
  'make project-website'
- Move the website directory from 'flamenco-io-site' to
  'project-website'
- Update the rsync command do reflect the new deployment destination
2022-07-25 14:42:30 +02:00

26 lines
955 B
Markdown

# 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.
# Running static flamenco.io site locally
[Flamenco.io](https://www.flamenco.io/) runs off of [Hugo](https://gohugo.io/).
Hugo is automatically installed when running `make with-deps`, but you can also [manually install Hugo](https://gohugo.io/getting-started/installing/).
To locally run the site, from the `web/project-website` directory, start the server with:
```
hugo server -D
```
Then visit https://localhost:1313/ in a webbrowser.