Once you've added some content and/or data, you can run your generator application.
dotnet run
You can run your Statiq application directly using dotnet run
but you need to delimit arguments for your Statiq application with a --
between the dotnet run
command and the arguments you want to pass to your Statiq application. Anything after the --
will be passed to Statiq.
In general, calling dotnet run
will compile your application, run the default pipelines, and generate output. Statiq Web includes a variety of commands and arguments you can use to control execution.
dotnet publish
Alternativly you can publish your application using dotnet publish
. This will create an executable for your generator that you can run without compilation. For more information see Publish .NET Core apps with the .NET Core CLI.
Child Pages
Command-Line Interface
Statiq Web provides a number of default commands and arguments to control execution.
Preview Server
Statiq Web comes with a built-in preview server to help you while developing your layout and content.