~jzs/sketchground.site

My personal website www.sketchground.dk
leap of faith post
blog post: rough start of 2023
Replacing traefik with caddy

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~jzs/sketchground.site
read/write
git@git.sr.ht:~jzs/sketchground.site

You can also use your local clone with git send-email.

#Sketchground.dk

Source code for sketchground.dk

#Deployment

  1. Make sure you have the go toolchain installed on the machine you use for building.
  2. Run go generate in this folder.
  3. Copy the contents of the dist folder to your webserver to serve the static files.

#Development

  1. Run main.go go run main.go to get a local webserver up and running.
  2. Write your new blog posts etc and check them out on localhost:10000
  3. If you make changes to main.go then rerun go run main.go or set it up with your favourite filewatcher to rerun commands on file changes. For filewathers you might want to go build -o devserver main.go and run devserver binary if you have issues with port 10000 already in use errors.