Skip to content

fhlarif/goblog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Index: /path/to/project/main.go

Steps

  1. cd into the project.

  2. Ensure the env.yaml is present. Copy it from app/env/env.yaml.example and edit the content if necessary.

cp app/env/env.yaml.example app/env/env.yaml
  1. To serve the app, run the go script using the following command. This will start the Go development server and make the app available at https://localhost:8000. The port is based on the env.yaml file.
go run main.go serve
  1. To run Tailwind's watch command, make sure you have installed Tailwind and its dependencies.
pnpm i
  1. Then, run the following command. This will watch for changes in the source CSS file and automatically rebuild the output file.
npx tailwindcss -i ./app/resources/assets/css/main.css -o ./app/resources/assets/dist/output.css --build

About

Practicing Go via blog project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published