Skip to content

Generates a static site with boilerplates. Includes a web-server.

License

Notifications You must be signed in to change notification settings

TheGithubJoshua/static-site-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Static Site Generator

Easily generate a static website. Proudly written in GO with Cobra.

Running

Simply download from releases and

./staticsitegenerator (start staticsitegenerator.exe on Windows)

Commands

./staticsitegenerator generate

Creates the files (With boilerplates)

./staticsitegenerator start

Starts the web server on port 8080

Building (To build you MUST be using Go 1.16, for easily switching betwwen GO versions, I would recommend gvm)

Clone Repo

git clone https://github.com/TheGithubJoshua/static-site-generator cd static-site-generator

Install Dependencies

go get -u github.com/spf13/cobra/cobra

Build

go build

That Easy?!

Yup!