Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/garylouisstewart/static-site-generator
- Owner: GaryLouisStewart
- Created: 2024-11-10T15:43:36.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-10T23:10:52.000Z (about 2 months ago)
- Last Synced: 2024-11-11T00:17:10.217Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 2.07 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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
```