709 B
709 B
virtual-star
Static site builder for a blog site, for deployment to neocities or via included static-server docker container.
Install
- Clone this repository, and run
npm i. - Set up a
.envfile if desired.
Configure
In your .env file, or as environment vars:
VS_DEBUG: set totrueto enable more logging,falseotherwise (default:false).VS_INPUT_DIR: change the input directory (default:content/).VS_OUTPUT_DIR: change the output directory (default:build/).
Usage
Build
Converts .md files in the input directory to .html files in the output directory.
npm run build
Serve
Statically serves files in the output directory
npm run serve