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.
This Readme covers installation of LORIS@UVA using Docker.
Please consult the Loris documentation for more information. Other installation instructions and more LORIS documentation for developers can also be found on the LORIS ReadTheDocs website.
Installing some dependencies may require sudo
privileges. Other dependencies are defined through Dockerfiles. Consult the Loris repository for more information on these requirements.
-
Create environment file in the project repo to configure MySQL and CouchDB containers
.env example
MYSQL_DATABASE_NAME=$loris_db_name MYSQL_ROOT_PASSWORD=$db_root_password COUCHDB_USER=$dqt_user COUCHDB_PASSWORD=$couch_root_password
$loris_db_name ⇾ "loris" or one-word project name
⚠️ Warning: Keep these passwords secret! Do not check the .env file into your repo! -
Run
docker compose build
in the root Loris folder to build your Docker images -
Run
docker compose --env-file .env up -d
in the root folder of the repository to start the service📝 Note: If you make any changes to the Dockerfile or docker-compose.yaml, you will need to rebuild the images using
docker compose build
before runningdocker compose up
-
Open your browser and go to:
<loris-url>/installdb.php
. This web page will prompt you for your mysql connection information. Follow the instructions to finalize LORIS installation, then restart Apache in the loris-web-1 Docker container (name could vary) usingsudo service apache2 reload
.📝 Note:
<loris-url>
is most likelylocalhost
📝 Note: Use
docker network inspect loris_default
to find the IP Address for the MySQL database and use this for theServer Hostname
📝 Note: Check the box for
Use existing database
and provide the database name from your mysql.env file -
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 documentation, please subscribe to the LORIS Developers mailing list and email us there.
For troubleshooting specific installation issues or errors, please see the Installation troubleshooting guide, and then contact us via the LORIS Developers mailing list. 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.
We are 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, led by Alan Evans and Samir Das at The Neuro (Montreal Neurological Institute-Hospital).
Visit the LORIS website for 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, James McKinney, and Samir Das.