Professional site with Dotnet, Typescript, and Gatsby
Required software
- node 18.12.1
- dotnet 6.0.111
Required software (in addition to those required below the initial setup)
- nginx
cd /var/www/
sudo git clone git@github.com:dorsett85/clayton-static-site
sudo chown -R clayton:clayton clayton-static-site/
cd clayton-static-site/
# Build Gatsby
yarn install
yarn build
# Build dotnet
cd server/StaticSiteWebApi/
dotnet build
dotnet publish -c Release
Next up we'll follow the tutorial at this link (starting from "Step 4 — Configuring the Web Server"):