You need to:
and you're ready!
Type ./mill site.hepek
Or ./mill -w site.hepek
so that mill watches for file changes and runs hepek
automatically.
Output will be in the site/hepek_output
folder.
Start up sbt
console and type hepek
.
Or ~hepek
so that sbt watches for file changes and runs hepek
automatically.
Output will be in the site/hepek_output
folder.
Usually you'll want to use an HTTP server to develop a site locally.
First cd site/hepek_output
and then use one of the options below.
If using Java 18+, use the jwebserver
tool:
jwebserver
By default it will serve the site at http://localhost:8000
Install Browsersync and then:
browser-sync
Browsersync will automatically refresh page in browser when it gets changed!
By default it will serve the site at http://localhost:3000/