资源说明:
About
=====
The Library Directory (published at http://hakemisto.kirjastot.fi/) is a website by [Seravo Oy](http://seravo.fi/) on comission from [Kirjastot.fi](http://kirjasto.fi/) / City of Helsinki. It provides an easy to use interface for the public to search libraries and their details, like open times, contact information, list of services etc. It also provides widgets that web developers can embed, for example if somebody wants to display local library information on the city or muncipality website.
The site is available in Finnish, Swedish and English. A gettext-based translation systems makes it easy to add more languages.
The source, comments and other project documentation is in English. The code is designed for reuse in other countries and is not limited just to Finland.
Ohloh profile: https://www.ohloh.net/p/libdir
Screenshots
-----------
Screenshot of main page

Screenshot of main page with narrow screen (mobile). Showcases responsive design.
. Showcases responsive design.")
Screenshot of details page with medium screen (tablet).
.")
Credits
-------
Project built on HTM5boilerplate for Node.js (http//github.com/h5bp/html5-boilerplate) and HTM5boilerplate for Twitter Bootstrap Responsive.
Other libraries are:
* http://www.initializr.com/
* HTML5 Boilerplate
* Modernizr
* JQuery
* Twitter Bootstrap (responsive)
* http://github.com/okfn/facetview
* Node.js
* Express.js
* Mustache / Hogan.js
* Node-gettext
Icons by Glyphicons (http://glyphicons.com/), license CC-BY-3.0.
The Dark theme for OpenLayers by MapBox (from http://zzolo.org/thoughts/openlayers-facelift), license GPL2+ (as modules in Drupal-git are derivates of Drupal).
Thank you also for all the great Node.js packages we use in this project!
Installation
============
Dependencies
------------
Instructions for Ubuntu 12.04, where the required dependencies can be installed with:
### Node.js, Node Package Manager, h5bp and Java dependencies
$ sudo apt-get install nodejs npm node-less libjpeg-progs optipng default-jre-headless
$ cd Library-Directory
# make sure modules in path, otherwise require('connect') will fail
$ export NODE_PATH="/usr/local/lib/node_modules/" # example on Ubuntu 12.04
# Installing Node modules based on dependencies in package.json does not work,
# some Node.js cannot find libs or bins when dependencies installed like this:
$ # sudo npm install -g -d
# Instead install globally manually:
$ sudo npm install -g connect locale express express-form nodemailer hogan grunt nodewatch https://github.com/h5bp/node-build-script/tarball/master
# Normal "npm install -g gettext" no possible, library broken with TypeError: Object #
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。
English
