Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Install rabbitMQ
 
sudo -s
 
echo "deb http://www.rabbitmq.com/debian/ testing main" >> /etc/apt/sources.d/rabbitmq.conf
 
wget http://www.rabbitmq.com/rabbitmq-signing-key-public.asc
apt-key add rabbitmq-signing-key-public.asc
 
apt-get update
 
apt-get -y install rabbitmq-server rabbitmq-erlang-client git python-virtualenv mongodb-10gen


exit
 
mkdir git
cd git
git clone clone https://opensource.ncsa.illinois.edu/stash/scm/medmmdb/medici-play.git
git clone https://opensource.ncsa.illinois.edu/stash/scm/medmmdb/extractors-core.git


Install MongoDB

 sudo apt-get install mongodb-10gen

...

You can find the script attached to this wiki page here: medici.conf. Once downloaded copy this script into the /etc/init/ directory of your Ubuntu machine, and open it in your favorite text editor. For this script to work properly you must ensure that the JAVA_HOME variable points to the Java installation directory on your machine, and that the APPLICATION_PATH variable points to the base directory of the Medici app on your machine. It is recommended that you create a new user to run the application. This can be any user with permission to read/write/execute the files in your Medici directory. Change the USER variable to reflect the user that you want to run the Medici web app.

...

Note: You need to run the Play 'stagedist' command, either from the Play console or as an argument to play. This will create the production environment script used to start the Play application, which is called from our scripta universal distribution archive under target/universal. Unzip the file under /usr/share/medici-play (you can use a different path, but you will have to modify the medici.conf accordingly).