Giter VIP home page Giter VIP logo

loris-backup's Introduction

#LORIS Neuroimaging Platform

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

Prerequisites

  • LINUX (Optimized for Ubuntu 14.04) or Mac OS X (tested for 10.9)
  • Apache2 (libapache2-mod-php5)
  • MySQL (libmysqlclient15-dev mysql-client mysql-server)
  • PHP/PEAR >= 5.2 (php5 php-pear php5-dev php5-mysql)
  • php5-json (Debian/Ubuntu distributions)
  • Git
  • Perl
  • Smarty 3
  • Package manager

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

  1. Setup public keys:
  • On LORIS server, run ssh-keygen. Press Enter until key created.
  • Copy key in ~/.ssh/id_rsa.pub and paste to GitHub⇾Account Settings⇾SSH Keys⇾Add SSH key.
  • Enter Github password.
  1. Get code:

cd /var/www/
git clone [email protected]:your-git-username/Loris-Trunk.git $projectname

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

cd /var/www/$projectname/tools
./install.sh
sudo service apache2 reload

  1. 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. Rename these if running earlier version.

sudo a2dissite default
sudo a2ensite $projectname

  1. Notes for Loris post-installation setup are contained in the Loris Developers Guide.

Community

Please feel free to subscribe to the LORIS Developer's mailing list, where you can feel free to ask any LORIS-related questions.

LORIS Developers mailing list

Upgrade Notes

To upgrade LORIS to the latest version, pull the latest code from GitHub. MySQL patches are contained in the SQL/ subdirectory of LORIS. You must run any new patches that appear in that directory after running the git pull command. If you do not do this, some features may break as the MySQL table schema is likely out of date.

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.