LORIS (Longitudinal Online Research and Imaging System) is a self-hosted web application that provides data- and project-management for neuroimaging research. LORIS makes it easy to manage large datasets including behavioural, clinical, neuroimaging and genetic data acquired over time or at different sites.
- Try the LORIS demo instance at https://demo.loris.ca.
This Readme covers installation of the LORIS v22.* release on Ubuntu. (CentOS Readme also available).
Please consult the LORIS Wiki Setup Guide notes on this Install process for more information.
You can try LORIS on Heroku before installing it on your system. The project management and clinical data management functions of LORIS are available for experimenting with. Imaging functionality is not yet available.
Deploy and log in with username admin and the password that's set up during deployment via ClearDB.
- Apache 2.4 or higher
- MySQL >= 5.7 (or MariaDB >= 10.3)
- PHP 7.3 or higher
- Composer 1.4 or higher
- NodeJS 8.0 or higher
- NPM
- make
These dependencies are subject to change so be sure to verify your version of MySQL and PHP when updating LORIS. Installing some dependencies may require sudo
privileges.
Consult the LORIS Wiki page on this Install process for more information.
- Set up LINUX user lorisadmin, with
sudo
privilege, and create LORIS base directory:
sudo useradd -U -m -G sudo -s /bin/bash lorisadmin
sudo passwd lorisadmin
su - lorisadmin
Important: All steps from this point forward must be executed by lorisadmin user
sudo mkdir -m 775 -p /var/www/$projectname
sudo chown lorisadmin.lorisadmin /var/www/$projectname
$projectname โพ "loris" or one-word project name
-
Get the code: Download the latest release from the releases page and extract it to
/var/www/$projectname
-
Run installer script to install core code, and libraries. The script will prompt for information and so that it can create directories automatically.
For more information, please read the Installing Loris wiki page.
cd /var/www/$projectname/tools
./install.sh
- Run the makefile (use
make dev
if you are setting up a development sandbox)
cd /var/www/$projectname
make
- Apache configuration
If your apache configuration was not completed by the Install script, run the following enable rewriting of LORIS, enable your $projectname
site, and restart apache: (run by user who has root privileges)
sudo a2enmod rewrite
sudo a2dissite default
sudo a2ensite $projectname
sudo service apache2 reload
- Go to http://localhost/installdb.php and follow the instructions to finalize LORIS installation, then restart apache.
If you use MySQL 8, please read this link and also this.
- Follow the Setup Guide in the LORIS Wiki to complete your post-installation setup and configuration, and for more documentation.
For questions and troubleshooting guidance beyond what is covered in our GitHub Wiki, please subscribe to the LORIS Developers mailing list and email us there.
For bug reporting and new feature requests, please search and report via our GitHub Issues. Please include details such as the version of LORIS you're using as well as information such as the OS you're using, your PHP and Apache versions, etc.
The LORIS team at the Montreal Neurological Institute (MNI) is very happy to get code contributions and features from the global LORIS community.
If you would like to contribute to LORIS development, please consult our Contributing Guide.
LORIS is made by staff developers at the McGill Centre for Integrative Neuroscience (MCIN.ca), led by Alan Evans and Samir Das at the Montreal Neurological Institute.
See LORIS.ca for our current team, the history of LORIS, and our Technical Papers.
The original (pre-GitHub) LORIS development team from 1999-2010 included: Dario Vins, Alex Zijdenbos, Jonathan Harlap, Matt Charlet, Andrew Corderey, Sebastian Muehlboeck, and Samir Das.