Template
1
0
Fork 0
A template using Go + Templates + HTMX
Find a file Use this template
2024-05-14 19:06:08 -06:00
.vscode Init 2024-02-15 09:07:09 -07:00
api Fixed RSS 2024-04-16 00:09:09 -06:00
content Whoops! 2024-04-24 16:16:27 -06:00
lib No really... this time for real now. 2024-05-09 14:32:19 -06:00
pages Logging and deps 2024-05-08 14:43:57 -06:00
public Re-worked stylegen 2024-05-07 18:03:54 -06:00
.air.toml Re-worked stylegen 2024-05-07 18:03:54 -06:00
.dockerignore Init 2024-02-15 09:07:09 -07:00
.env.example Switched to REDIS_URL for ease of config 2024-04-08 23:19:24 -06:00
.gitattributes Init 2024-02-15 09:07:09 -07:00
.gitignore Re-worked stylegen 2024-05-07 18:03:54 -06:00
docker-compose.yml >.< 2024-05-14 19:06:08 -06:00
Dockerfile Docker-ify? 2024-05-14 00:00:28 -06:00
go.mod Logging and deps 2024-05-08 14:43:57 -06:00
go.sum Logging and deps 2024-05-08 14:43:57 -06:00
main.go Im real bad at this whole goroutine mutex shit but getting better! 2024-05-08 15:05:12 -06:00
README.md docs 2024-05-02 15:03:22 -06:00

atri.dad

This is my personal website!

Stack:

  • Backend: Golang + Echo
  • Rendering: Golang templates
  • Style: TailwindCSS + DaisyUI
  • Content format: Markdown

Requirements:

  • Golang 1.22.0

Instructions:

  1. Run go get
  2. Duplicate the .env.example file and call it .env
  3. Fill out the .env values
  4. Run go install github.com/cosmtrek/air@latest to download Air for live reload
  5. Run air to start the dev server (macOS and Linux only)

Note that on MacOS, you need to right click and open the appropriate tailwind executable before you can run StyleGen. This is a limitation of running unsigned binaries in MacOS. Blame Tim Apple.

Tests

Without Coverage: go test atri.dad/lib With Coverage: go test atri.dad/lib -cover