Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/garylouisstewart/static-site-generator

A static site generator (markdown to html) built using python.
https://github.com/garylouisstewart/static-site-generator

Last synced: about 1 month ago
JSON representation

A static site generator (markdown to html) built using python.

Awesome Lists containing this project

README

        

# Static site generator

## a markdown to html static website generator, bundled with a simple web-server that allows us to publish the content.


### Requirements

- python3
- docker/podman (optional)

## running using python.
Running this with python.

```bash
python3 src/main.py
cd public && python3 -m http.server 8888
```

## running the test suite

```bash
python3 -m unittest discover -s src -vvv

# or you can use the ./test.sh script which uses the same command wrapped in a bash script..

./test.sh
```

## run using docker or podman

```bash
docker build -t static-site-generator .
docker run -p 8888:8888 static-site-generator

# or using podman

podman build -t static-site-generator .
podman run -p 8888:8888 static-site-generator
```