Skip to main content

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
                        ( 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
  -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.

Files for blogodev, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size blogodev-0.1.3.tar.gz (5.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page