Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lmbishop/panulat
A static site generator for my own website.
https://github.com/lmbishop/panulat
Last synced: 5 days ago
JSON representation
A static site generator for my own website.
- Host: GitHub
- URL: https://github.com/lmbishop/panulat
- Owner: LMBishop
- Created: 2021-11-20T15:59:36.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-09T17:00:02.000Z (2 months ago)
- Last Synced: 2024-10-12T03:43:51.125Z (about 1 month ago)
- Language: TypeScript
- Homepage: https://leonardobishop.com/
- Size: 6.47 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# panulat
A static site generator for my own website. Uses
[ejs](https://ejs.co/) for templates.## Building and running
This program is intended to be run using Docker.
### Using Docker
```
$ docker build -t panulat .
```The program uses the following environment variables:
| Name | Value | Default |
|----------------------------|-------------------------------------------------------------|----------|
| `PAGES_DIR` | The directory containing Markdown and HTML formatted pages. | `pages` |
| `VIEWS_DIR` | The directory containing templates. | `views` |
| `STATIC_DIR` | The directory containing static files to be copied. | `static` |
| `OUTPUT_DIR` | The output directory for rendered pages. | `build` |
| `SKIP_OUTPUT_DIR_CREATION` | If the output dir should not be deleted and re-created. | `false` |
| `WEBSERVER_ENABLED` | If the webserver should start. Used for testing. | `false` |
| `WEBSERVER_AUTOREBUILD` | If pages should be automatically rebuilt when changing. | `true` |
| `WEBSERVER_PORT` | The port the webserver should listen on. | `3000` |
| `LOGGING_LEVEL` | How verbose logs should be. | `info` |