testing deployment to web

Quick hello world to test deployment#

Todo#

  • write hello world

    • templ views
      • add tmple dependcy
      • complie: go tool templ generate
    • use env secret
    • port num
    • test this locally
  • upload to tangled

    • add git
    • upload to tangled
    • to remte
    • spindle basics

Add to tangled#

  • make empty repo in tangled

  • clone it

  • git remote set-url --push origin git@tangled.sh:silvernskye.bsky.social/{repName}

  • now push

  • deploy to live using railway

    • use free tier
    • try custom domain
    • use cli
    • make account
  • automatic deployment

    • use railway token
    • add railway cli to spindle
    • set ci with spindle
    • dev and main branch

ref for auto deploy: https://graham.leaflet.pub/3m2uniaiph22c ref: https://blog.railway.com/p/github-actions

  • env secret for token & db path