Difference between revisions of "PartKeepr on uberspace"

From PartKeepr Wiki
Jump to: navigation, search
(Created page with "uberspace is a pretty cool hosted provider. Here are some instructions to get PartKeepr running. Note that you'll need ssh access to install PEAR packages. * Download partkee...")
(No difference)

Revision as of 16:22, 18 March 2013

uberspace is a pretty cool hosted provider. Here are some instructions to get PartKeepr running. Note that you'll need ssh access to install PEAR packages.

  • Download partkeepr to your web root
  • Configure pear, add include_path, restart PHP interpreter
pear config-create ~ ~/.pearrc
test -f ~/etc/php.ini || cp -a /package/host/localhost/php-$PHPVERSION/lib/php.ini ~/etc/
perl -pi -e "s|^;?include_path.*|include_path=.:$HOME/pear/php:/package/host/localhost/php-$PHPVERSION/lib/php|" ~/etc/php.ini
killall -u `whoami` php-cgi
  • Install imagick
pear config-set preferred_state beta
uberspace-install-pecl imagick
  • Install PEAR modules (those hints are given by the installer, but
pear config-set auto_discover 1
pear install pear.doctrine-project.org/DoctrineORM pear.doctrine-project.org/DoctrineSymfonyYaml pear.twig-project.org/Twig
  • Needed fixes for PartKeepr 0.1.8

Replace the following line in src/backend/PartKeepr/Setup/Setup.php:

$classLoader = new ClassLoader('Symfony', 'Doctrine');

with:

$classLoader = new ClassLoader('Symfony');
  • Now proceed with the regular setup