CouchDB-based blog for nodejs
JavaScript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
locales
public
views
.gitignore
.npmignore
AUTHORS
LICENSE
README.md
package.json

README.md

wallaby-blog

CouchDB-based blog engine for nodejs.

Installation

First you need to install the node module with all dependencies with npm

npm install wallaby-blog

Then you must create the following two files:

settings.json:

{
    "couchdb": {
        "host":"127.0.0.1",
        "port":5984,
        "db":"DATABASENAME",
        "user":"USER",
        "password":"PASSWORD"
    },
    "elasticsearch": {
        "host":"127.0.0.1",
        "port":9200
    },
    "listenPort":8080
}

Note: Feel free to remove the elasticsearch part if you don't want to install java software on your server.

app.js:

require('wallaby-blog').start();

To use our default template files just create the following to symbolic links or copy the views, locales and public folders

ln -s node_modules/wallaby-blog/views
ln -s node_modules/wallaby-blog/public
ln -s node_modules/wallaby-blog/locales

To start the blog-engine simply type

node app.js

done