How to set up a library section in another language

Create a dedicated user as root. Install the perl modules and the binaries in a system wide location. I suggest binaries (from bin/) in /usr/local/bin and ConTeXt in /user/local/minimals (see http://wiki.contextgarden.net/ConTeXt_Standalone). Don't forget to install the things in texmf-local.

# adduser alibrary-hu

Create a git repository as the user that maintain the gits. Setup the permissions in a smart way.

$ git init --bare --shared=group alibrary-it.git 
$ chgrp -R alibraryit alibrary-it.git

Log in as another user to set up the site. Get the sources and execute the install script, which will create the skeleton of the site.

git clone git://gitorious.org/the-anarchist-library-tools/the-anarchist-library-tools.git
cd the-anarchist-library-tools
./install.sh

Edit the virtualhost file for apache (dumped in /tmp/ and $HOME/.alibraryrc to suite your needs. The dot-alibraryrc file also contains the translations.

Add an htpasswd to lock the admin scripts (and eventually the global access to the site, until it goes live).

htpasswd /usr/local/apachepasswd mylibrarians

Restart apache and check if it's all properly locked.

Create a central git repository with templates and stuff, and clone it in ~/static/alibrary. Then try the cronjobs and see if they work.

The omega template needs to be translated too.

LibraryI18n (last edited 2011-09-11 09:28:42 by marco)