https://github.com/oozcitak/canphotoblog
A dead easy photo blogging application powered by node.js
https://github.com/oozcitak/canphotoblog
coffeescript image javascript nodejs photo-gallery
Last synced: 8 months ago
JSON representation
A dead easy photo blogging application powered by node.js
- Host: GitHub
- URL: https://github.com/oozcitak/canphotoblog
- Owner: oozcitak
- Created: 2010-11-10T23:10:50.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2012-09-28T11:43:35.000Z (about 13 years ago)
- Last Synced: 2024-10-29T18:51:04.668Z (about 1 year ago)
- Topics: coffeescript, image, javascript, nodejs, photo-gallery
- Language: CoffeeScript
- Homepage:
- Size: 3.15 MB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is an easy to use photo blogging application for [node.js](http://nodejs.org/).
Licensed under the [MIT License](http://www.opensource.org/licenses/mit-license.php).
### Installation:
You will need `imagemagick` and `sqlite3` installed. You will also need the following node.js packages:
``` sh
npm install coffee-script express step akismet sqlite3 markdown-js jade
```
Now clone the `canphotoblog` repository and build it:
``` sh
git clone git://github.com/oozcitak/canphotoblog.git
cd canphotoblog
make
```
You can run the application with:
``` sh
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](http://www.google.com/analytics/), you can enter your analytics key here. You should also register for an [Akismet](https://akismet.com/signup/) account and enter your Akismet API key here.
### Credits:
The polaroid look and css effects are from [Polaroids with CSS3](http://www.zurb.com/playground/css3-polaroids).