Skip to content

pisgahi/thg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THG Stack

Thg is a lighweight template for spinning up websites using Tailwind CSS, HTML, Golang, and Chi for routing.

Features

  • Live reloading on save using Air
  • Templates through native Golang text/template package
  • Reusable components

Getting Started

Clone repo

git clone https://github.com/pisgahi/thg.git
cd thg

Prerequisites

  • Install Tailwind CSS (preferably the standalone CLI).
  • Create a .env file and add the following. PORT=8080 is just an example port:
PORT=8080

Dev

  1. Begin Tailwind file watching and generate the static CSS file
make wind
  1. In another terminal session start Air for live reloading
make air

Production

  1. Run the final product
make run
  1. Build the final executable
make build

About

Thg is a lighweight template for spinning up websites using Tailwind CSS, HTML, Golang, and Chi for routing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors