From e96580c2e6bf1ee008b30c8e1f0965c23d727c85 Mon Sep 17 00:00:00 2001 From: iglocska Date: Wed, 1 Oct 2014 15:13:35 +0200 Subject: [PATCH] Update to the installation script --- INSTALL/INSTALL.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/INSTALL/INSTALL.txt b/INSTALL/INSTALL.txt index fac681e41..8e8dc133a 100755 --- a/INSTALL/INSTALL.txt +++ b/INSTALL/INSTALL.txt @@ -59,14 +59,6 @@ php composer.phar require --no-update kamisama/cake-resque:4.1.0 php composer.phar config vendor-dir Vendor php composer.phar install -# Once CakeResque is installed, make sure to enable it by uncommenting the following lines: -# in Core.php (if you have just recently updated MISP, just add this line at the end of the file): -# require_once dirname(__DIR__) . '/Vendor/autoload.php'; - -# in bootstrap.php uncomment the following line (at the end of the file): -# CakePlugin::loadAll(array('CakeResque' => array('bootstrap' => true))); -# set Configure::write('MISP.background_jobs', false); to Configure::write('MISP.background_jobs', true); - # CakeResque normally uses phpredis to connect to redis, but it has a (buggy) fallback connector through Redisent. It is highly advised to install phpredis pecl install redis # After installing it, enable it in your php.ini file @@ -140,6 +132,14 @@ database.php : login, port, password, database bootstrap.php: MISP.*, GnuPG.* core.php : debug, Security.* +# To enable the background workers, if you have installed the package required for it in 4/, uncomment the following lines: +# in Core.php (if you have just recently updated MISP, just add this line at the end of the file): +# require_once dirname(__DIR__) . '/Vendor/autoload.php'; + +# in bootstrap.php uncomment the following line (at the end of the file): +# CakePlugin::loadAll(array('CakeResque' => array('bootstrap' => true))); +# set Configure::write('MISP.background_jobs', false); to Configure::write('MISP.background_jobs', true); + # and make sure the file permissions are still OK chown -R www-data:www-data /var/www/MISP/app/Config chmod -R 750 /var/www/MISP/app/Config