Free Library on Rails
This is an open source web application for organising a distributed library.
Here are some basic installation instructions.
sudo apt-get install libxslt1-dev libsqlite3-dev libmysqlclient-dev
rake secret--- copy this and place it as your session key secret in
Setup the database
- for production: in config/database.yml edit the database name, username and password.
rake db:setup(when upgrading use
API tokens are set in config/application.yml. You can get an ISBNdb api token here. There is no guarantee that the API tokens stored in config/application.yml will work for you.
There are other things you can change in config/application.yml (like a tags blacklist if you have problems with swearing or pro-capitalists)
If you have questions about the license please email firstname.lastname@example.org
- Members can
- signup and create an account;
- add their books and videos;
- search items by name, author or description;
- loan items after confirmation from the owner (with return date);
- leave comments about other members as some form of user feedback.
- Book information by ISBN (from ISBNdb and Google Books).
- Book covers from Google Books.
- Send SMS on loan request (optional).
- Librarians may edit all books and tags (optional).
In some communities it can be useful to have librarians who help to complete missing
information, correct mistakes and help with tagging. To enable this, you need to make
one user a librarian by running the following command (replacing
with the email address of the librarian):
echo "User.where(email: 'email@example.com').update_all(librarian_since: Time.now)" | rails console
If you'd like to allow librarians to make other members a librarian, set
delegate in config/application.yml. Librarians will then see a button on other users'