Skip to content

dorsett85/clayton-static-site

Repository files navigation

Professional site with Dotnet, Typescript, and Gatsby

https://cphillipsdorsett.com/

setup

Required software

  1. node 18.12.1
  2. dotnet 6.0.111

production setup (ssh'd into server as sudo root user 'clayton')

Required software (in addition to those required below the initial setup)

  1. 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"):

https://www.digitalocean.com/community/tutorials/how-to-deploy-an-asp-net-core-application-with-mysql-server-using-nginx-on-ubuntu-18-04

About

Professional site with Dotnet Core, Typescript, and Gatsby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published