Talk:Install and Setup Koha to use Git on a Development Server

From Koha Wiki
Jump to navigation Jump to search

Installing packages to get the command scripts rather than doing it yourself for git, seems wrong, because then you have to edit a whole bunch of files.

And as for editing files, keep it to a minimum, because people trying to do this may be newbies who aren't even familiar with Linux. The lower the bar is, the better perception Koha gets.

It is totally possible to do a port-based installation by following the instructions properly from other instructions:
http://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages#Initial_Configuration
http://wiki.koha-community.org/wiki/Debian#Initial_Configuration
I would give the sample of a port-based set up, instead of the name-based one. This would reduce the number of edits needed.

Getting the password:
sudo xmlstarlet sel -t -v 'yazgfs/config/pass' /etc/koha/sites/library/koha-conf.xml
(tweak to match where your koha-conf.xml file is)

Also, where are the:

  perl Makefile.PL
  make
  make test
  make install

commands which should be done for a git installation? Currently the package configuration is hijacked, which means people asking for help with their development environment need to also tell the person how they installed. And most people forget, don't know, etc. This makes supporting them a little harder.