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...")
 
m
Line 12: Line 12:
 
  uberspace-install-pecl imagick
 
  uberspace-install-pecl imagick
  
* Install PEAR modules (those hints are given by the installer, but  
+
* Install PEAR modules (those hints are given by the installer, but here's the complete install line for the lazy people ;))
 
  pear config-set auto_discover 1
 
  pear config-set auto_discover 1
 
  pear install pear.doctrine-project.org/DoctrineORM pear.doctrine-project.org/DoctrineSymfonyYaml pear.twig-project.org/Twig
 
  pear install pear.doctrine-project.org/DoctrineORM pear.doctrine-project.org/DoctrineSymfonyYaml pear.twig-project.org/Twig

Revision as of 16:43, 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 here's the complete install line for the lazy people ;))
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