![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
a small script for dreamwidth development
dw is a program I use for managing local Dreamwidth installations. It provides handy shortcuts for invoking cvsreport.pl, and it can install Dreamwidth from scratch or upgrade an existing installation. Additionally, it can automatically run Dreamwidth under an unprivileged Apache process; this means you only need to make a single change to your normal system configuration[1], and in theory you shouldn't even need root privileges to run Dreamwidth this way.
To use it, simply install the script as "dw" somewhere in your $PATH; dw help will show usage information.
[1] Dreamwidth apparently doesn't like having a port number in $LJ::DOMAIN, so you will have to set up a reverse-proxy on port 80.