Skip to content

oozcitak/canphotoblog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an easy to use photo blogging application for node.js. Licensed under the MIT License.

Installation:

You will need imagemagick and sqlite3 installed. You will also need the following node.js packages:

npm install coffee-script express step akismet sqlite3 markdown-js jade

Now clone the canphotoblog repository and build it:

git clone git://github.com/oozcitak/canphotoblog.git
cd canphotoblog
make

You can run the application with:

node run.js

Great! Your new photo blog is now running. (You will want to add this to a startup script to make sure the application is started when the server is rebooted.) Although the application is running there aren't any pictures to look at. Let's fix this next.

Usage:

The application monitors the uploads folder for new images. To add a new image, copy it into the uploads folder. If you copy images into a subfolder in the uploads folder, the subfolder name will be used as the album name, otherwise the album name will be the date the picture was taken. Go ahead and copy some images into the uploads folder. After a couple minutes those images should be visible.

Administration:

You will see a login link at the footer of the application. Click this and login with username admin and password admin. Now click on the admin link on the footer and change your password. If you are using Google Analytics, you can enter your analytics key here. You should also register for an Akismet account and enter your Akismet API key here.

Credits:

The polaroid look and css effects are from Polaroids with CSS3.