Static-Site-Generator

command module
v0.0.0-...-23cc373 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 2 Imported by: 0

README

Static Site Generator

👋 Hi! This is a static site generator made in Gin. It checks for markdown files in the markdown directory, renders them to HTML and serves them locally. For example the file markdown/test/example.md can be viewed in the browser at example.com/test/example.md. This app was created for me to try to tidy my university notes (and start finally learning golang and gin).


✨ Getting Started

1. Get the prerequisites

🛠 This project requires golang, if you're unsure how to set it up I recommend this page.

2. Clone the repository and enter it
git clone --depth=1 https://github.com/TypicalAM/Static-Site-Generator.git && cd Static-Site-Generator
3. Run the app!

🌟 To run in a dev environment

go run .

✨ Starting the app in a cointainer

If you have a possiblity to run docker containers on your machine, you can also run the dev version of this product directly in the container using the provided Dockerfile.

docker build -t go-docker . 
docker run -d -p 3006:3004 go-docker

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL