pollo/README.md
2024-06-27 13:13:46 -06:00

23 lines
717 B
Markdown

# Pollo
## 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 pollo/lib`
With Coverage: `go test pollo/lib -cover`