xStatic documentation
Install, deploy and extend xStatic, kept up to date with each release.
xStatic 14.1 installs with no code changes and creates Netlify sites for you. From nothing to a deployed Umbraco site in under three minutes.
xStatic 14.1 is all about getting started faster. The idea came from Paul Seal’s Package Script Writer, which builds a script that installs Umbraco with packages already in place. I was jealous of how other packages could be ready to use with no work in Visual Studio, so this release removes the manual steps from installing xStatic and automates creating Netlify sites from inside the backoffice.
In the Package Script Writer I skipped creating a solution, named the project, picked the latest Umbraco version and chose the starter kit. Under packages, searching for xStatic shows the main package and its extensions, so I added both xStatic and xStatic Netlify. The tool can output the script as a single line, so one paste runs everything.
The goal: install Umbraco and a starter kit, configure an xStatic site and deploy it to Netlify in about three minutes.
The script restores the NuGet packages, creates and builds the project, creates the database, installs the starter kit and adds the xStatic user groups. One quirk with Umbraco 14: on the first run the starter kit’s styles and scripts weren’t picked up, but running dotnet run a second time sorted it.
Once logged in, the xStatic section is already there; no user group changes needed. Then:
The site was live on Netlify in 2 minutes 55 seconds. The record is there to be beaten, so give it a go.
Install, deploy and extend xStatic, kept up to date with each release.
The package page, with downloads, docs and guides.