SubjectZero is a web based, server side static site generator. Unlike other static site generators, SubjectZero is a node.js application that runs along side your primary web server and allows you to edit your site through a web interface.
As the name would suggest, SubjectZero is entirely an experimental idea at this point. Though I do run my own site with it, I don't particularly endorse the software nor recommend anyone else use it.
If you don't have Node.JS and MongoDB installed, you must install them first. On some distros you may be able to do this with your package manager.
# apt-get install nodejs mongodb
$ npm install
Now configure SubjectZero (see below), then run the server:
$ node main.js
To configure your SubjectZero, rename
config.json. Then, open the file and modify the following options to your standards.
mongooseUrl: The MongoDB database URL. If you don't know what to set this to, the default should work.
authPassword: Choose a user and pass for the admin panel
httpPort: The host and port to bind the HTTP server to
webRoot: The location on your filesystem where the primary web server (say, lighttpd or nginx) will serve files from. The resulting static site that SubjectZero generates will be stored in this directory.
webRootUrl: The public root URL where the files stored in
webRoot can be accessed
mediaUploadPath: The location on your filesystem where media files uploaded from the web interface will be stored. This isn't a temp directory, your media files are stored there permanently. It shouldn't be web viewable, your media files will be copied into
logFilename: The desired path to the log file.
sslEnabled: Set to
true if you want to enable SSL for the server.
See the LICENSE file.