Giter Site home page Giter Site logo

tedstrauss / loris Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aces/loris

0.0 2.0 0.0 64.55 MB

LORIS (Longitudinal Online Research and Imaging System) is a web-accessible database solution for neuroimaging.

License: GNU General Public License v3.0

SQLPL 1.04% ApacheConf 0.19% PHP 50.40% CSS 1.33% HTML 0.03% JavaScript 34.47% GLSL 0.06% Smarty 12.26% Shell 0.12% Python 0.10%

loris's Introduction

#LORIS Neuroimaging Platform

LORIS is a web-accessible database solution for neuroimaging, providing a secure infrastructure to automate the flow of clinical data for complex multi-site neuroimaging studies.

This Readme covers installation of the 16.0 LORIS release on Ubuntu. (CentOS Readme also available)

Please consult the LORIS Wiki Setup Guide notes on this Install process for more information not included in this Readme. The LORIS Developers mailing list may also provide installation guidance not covered in the Wiki.

⇾ Deploy on Heroku As an alternative to installing LORIS on your system (per instructions below), LORIS can now be deployed on Heroku. Note: Your default credentials after deployment will be 'admin' as the username and your password will be the uniquely generated password used by ClearDB. Deploy

Prerequisites for Installation

  • LINUX (supported on Ubuntu 14.04 and CentOS 6.5) or Mac OS X (tested for Mavericks - OS X 10.9)
  • Apache2 (libapache2-mod-php5)
  • MySQL (libmysqlclient15-dev mysql-client mysql-server)
  • PHP 5.3+ (php5 php5-mysql php5-gd php5-sqlite)
  • PEAR (php-pear)
  • php5-json (for Debian/Ubuntu distributions)
  • Package manager (for LINUX distributions)
  • Composer

Important: Composer should be installed with --no-dev option.
Consult the LORIS Wiki page on this Install process for more information.

Installation

  1. Set up LINUX user lorisadmin 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

  2. Get code: Download the latest release from the releases page and extract it to /var/www/$projectname

  3. Run installer script to install core code, libraries, and MySQL schema (see LORIS Setup Schematic). The script will prompt for information, including usernames and folders which it will create automatically.

    For more information, please read the Install Script wiki page.

    cd /var/www/$projectname/tools
    ./install.sh
    
  4. Apache configuration and restart LORIS requires Apache's mod_rewrite module to rewrite its URLs. Enable this module, then restart Apache:

    sudo a2enmod rewrite
    sudo service apache2 reload
    
  5. Go to http://localhost to verify that the LORIS core database has been successfully installed. Congratulations! Log in with the username “admin” and the password you supplied for this user while running the Install script.

    Note: Apache config files will be installed as *.conf, per Ubuntu 14.04. If running an earlier version of Ubuntu, rename these files, then run the following commands. After, restart Apache.

    sudo a2dissite default
    sudo a2ensite $projectname
    
  6. Note that the default Loris setup assumes that Loris is running on localhost. If this is not the case, you'll have to manually update the URL and Host config variables in the ConfigSettings table by running the following SQL commands from a MySQL prompt:

    UPDATE Config SET Value='$yourURL' WHERE ConfigID=(SELECT ID FROM ConfigSettings WHERE Name='url');
    UPDATE Config SET Value='$yourHostname' WHERE ConfigID=(SELECT ID FROM ConfigSettings WHERE Name='host');

    Make sure that $yourURL above contains the "http://" or "https://" and $yourHostname does not. If your server is only being accessed from localhost, you can skip this step.

  7. Follow the Setup Guide in the LORIS Wiki to complete your post-installation setup and configuration, and for more documentation.

Community

Please feel free to subscribe to the LORIS Developers mailing list to ask any LORIS-related questions.

loris's People

Contributors

brubo1 avatar christinerogers avatar cmadjar avatar driusan avatar evanluc avatar gluneau avatar jkat avatar johnsaigle avatar jstirling91 avatar karolinamara avatar kevinshustack avatar kongtiaowang avatar marir10 avatar mathieudesro avatar mohadesz avatar mounasafiharab avatar mpetkova avatar mweiss17 avatar nicolasbrossard avatar nirtiac avatar olgatsib avatar paiva avatar rathisekaran avatar ridz1208 avatar samirdas avatar taracampbell avatar ted-strauss-k1 avatar tsherif avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.