blogodev 0.1.2
An interim front end for blogofile development
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.
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| blogodev-0.1.2.tar.gz (md5) | Source | 2012-01-12 | 4KB | 178 | |
- Author: Mike Bayer
- Home Page: https://bitbucket.org/zzzeek/blogodev
- Keywords: Blogofile
- License: MIT
- Categories
- Package Index Owner: zzzeek
- DOAP record: blogodev-0.1.2.xml
