An interim front end for blogofile development
Project description
Presents an auto-recompiling front end to a Blogofile 0.7.1 site.
Just run:
blogodev -v
and you’ll get the functionality of “blogofile serve” combined with a modified Writer process that scans the source directory and rebuilds if any files change. Writes out to a temp directory and copies files back, deleting those that are no longer present.
Command line args are a tiny subset of that of Blogofile:
usage: blogodev [-h] [-s DIR] [-v] [-vv] [PORT] [IP_ADDR] positional arguments: PORT TCP port to use IP_ADDR IP address to bind to. Defaults to loopback only (127.0.0.1). 0.0.0.0 binds to all network interfaces, please be careful! optional arguments: -h, --help show this help message and exit -s DIR, --src-dir DIR Your site's source directory (default is current directory) -v, --verbose Be verbose -vv, --veryverbose Be extra verbose
Make sure that any scripts or filters in your Blogofile environment use bf.writer.output_dir to determine the destination of files, instead of hardcoding to _site.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file blogodev-0.1.3.tar.gz
.
File metadata
- Download URL: blogodev-0.1.3.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cfa435433f8a7d74d429b63d9da800eca7dd010a35cbede8791d9f31e3e567b |
|
MD5 | 37c35b64c82eddf6a9bf7f079b193dae |
|
BLAKE2b-256 | 8f0a58c748732a10befe0eff505e28f829c67fd1276f28d04f723d0e65044060 |