[horde] git install help
Arjen de Korte
build+horde at de-korte.org
Fri Dec 27 12:12:46 UTC 2019
Citeren Simon B <simon.buongiorno at gmail.com>:
> Hi
>
> It's been nearly 2 years, since the git repository was split, and I am
> finally getting to trying to update my configuration...
>
> Following these instructions...
>
> https://github.com/horde/git-tools
>
> I did this:
> cp config/conf.php.dist config/conf.php
>
> I did this:
> 10 // Target directory for git checkouts.
> 11 $conf['git_base'] = '/my/current/5.2/git/clone/';
> 12
> 13 // Target directory for installation, i.e. the webroot .
> 14 $conf['web_base'] = '/my/current/git/webroot';
> 15
> 16 // Group name to use for the static directory. Should be the web
> server's
> 17 // group.
> 18 $conf['static_group'] = 'www-data';
>
> I tried to do this:
> horde-git-tools --help
>
> but I got this:
> root at mail:/ /my/current/5.2/git/clone/horde-git-tools# bin/horde-git-tools
> --help
> You need to run "composer install" first.
> For more information on composer see https://getcomposer.org/.
>
> So, then I did this:
> php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
> php -r "if (hash_file('sha384', 'composer-setup.php') ===
> 'baf1608c33254d00611ac1705c1d9958c817a1a33bce370c0595974b342601bd80b92a3f46067da89e3b06bff421f182')
> { echo 'Installer verified'; } else { echo 'Installer corrupt';
> unlink('composer-setup.php'); } echo PHP_EOL;" php composer-setup.php php
> -r "unlink('composer-setup.php');"
>
> But I still get this:
> root at mail:/ /my/current/5.2/git/clone/horde-git-tools# bin/horde-git-tools
> --help
> You need to run "composer install" first.
> For more information on composer see https://getcomposer.org/.
>
> Is there a more step-by-step tutorial?
If you need a step-by-step tutorial, I'd recommend to stick with the
versions from the pear.horde.org repository.
> I do not use git on a regular basis, but a "rolling" installation of Horde
> makes more sense for me.
>
> Regards
>
> Simon
More information about the horde
mailing list