[Loris-dev] Regarding Loris installation
Dave MacFarlane
david.macfarlane2 at mcgill.ca
Fri Dec 4 15:27:38 EST 2015
Hi Ramanandan,
1. Smarty is installed from composer, you don't need to apt-get install it anymore as of Release 15.102. You need to run "composer install --no-dev" from the LORIS directory, not your home directory, which is why it can't find composer.json3. The PHP/PEAR package repository (pear.php.net) had some downtime and the install script couldn't retrieve dependencies (such as the Benchmark library). Can you try running "composer install --no-dev" (from the LORIS directory) and see if it works now? They seem to be partially back up, but I'm not sure if all their packages are restored yet..
-- Dave
Date: Fri, 4 Dec 2015 13:11:10 -0500
From: ramanandan.prabhakaran at gmail.com
To: loris-dev at bic.mni.mcgill.ca
Subject: [Loris-dev] Regarding Loris installation
Dear Loris developers,
I tried installing the LORIS from Github in ubuntu.
As per the installation section, I performed following things1) Created LINUX user (emruser) and created EMR base directory.2) Downloaded the LORIS file from release section and extracted it to "/var/www/emr"3) Then I installed following dependencies (Smarty3 and Composer) 3.1) Installing smarty3 $ sudo apt-get install smarty3 3.2) Installing composer emradmin at jsn-HP-Pavilion-g6-1c33ca:~$ curl -sS https://getcomposer.org/installer | php; emradmin at jsn-HP-Pavilion-g6-1c33ca:~$ sudo mv composer.phar /usr/local/bin/composer emradmin at jsn-HP-Pavilion-g6-1c33ca:~$ composer install Composer could not find a composer.json file in /home/emradmin To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section4) Then moved to following directory path 4.1) emradmin at jsn-HP-Pavilion-g6-1c33ca:~$ cd /var/www/emr/tools 4.2) emradmin at jsn-HP-Pavilion-g6-1c33ca:~$ ./install.sh LORIS installation Script starting at 2015-12-04 (Attached the installation log file) Project name : emr Database name : emrdb Database host : localhost MySQL user (recommended lorisuser): emruser Where Loris' apache is hosted: localhost But Benchmarj-1.2.9.tgz file could not be downloaded. Finally I got "Installation complete" message.5) Then executed following command 5.1) $ sudo service apache2 reload6) Then I tried in firefox, http://localhost. The page was blank.
Can you please guide me in resolving this issue.
Cheers,Ram
_______________________________________________
Loris-dev mailing list
Loris-dev at bic.mni.mcgill.ca
http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20151204/184684cb/attachment-0001.html>
More information about the Loris-dev
mailing list