wiki:xQTLAdministratorInstall

Version 4 (modified by jvelde, 10 years ago) (diff)

--

xQTL workbench

Vagrant Debian squeeze installation script

sudo su
apt-get update
apt-get install ant subversion default-jdk -y
mkdir xqtlwb
cd xqtlwb
rm -rf *
svn co http://www.molgenis.org/svn/molgenis/trunk/ molgenis
svn co http://www.molgenis.org/svn/molgenis_apps/trunk/ molgenis_apps
ant -f molgenis/standalone.xml
mv molgenis/dist/molgenis-4.0.0.jar molgenis_apps/dist/
ant -f molgenis_apps/standalone.xml generate
ant -f molgenis_apps/standalone.xml
cd molgenis_apps/dist/
java -jar Application.jar

Download and run (OSX, UNIX, Windows):

[Todo: link to ZIP file with working application]

Download source, compile and run (OSX/UNIX):

Required: Ant, Subversion, Java. Pick either the Stable or Unstable checkout.

Stable

svn co TODO
svn co TODO

Unstable

svn co -r 8238 http://www.molgenis.org/svn/molgenis/branches/nobinlibs/
svn co -r 8239 http://www.molgenis.org/svn/molgenis_apps/trunk/

mv nobinlibs molgenis
mv trunk molgenis_apps
ant -f molgenis/standalone.xml
mv molgenis/dist/molgenis-4.0.0.jar molgenis_apps/dist/
ant -f molgenis_apps/standalone.xml generate
ant -f molgenis_apps/standalone.xml
cd molgenis_apps/dist/
java -jar Application.jar

If ant fails with a heapspace error, use:
export ANT_OPTS=-Xmx512m

Application running at: http://localhost:8080/molgenis_apps/
Setup database using: http://localhost:8080/molgenis_apps/resetdatabase_4EE1D7A3E73C504183B69F7D20108853

APP IS BROKEN AT THIS POINT:

start running create_tables.sql
java.lang.NullPointerException
at java.io.Reader.<init>(Reader.java:61)
at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
at plugins.emptydb.emptyDatabase.empty(Unknown Source)

Download source into development IDE (OSX, UNIX, Windows):

  1. Install the Eclipse IDE
  2. Install Subclipse for Eclipse
  3. Install JBoss tools Freemarker for Eclipse
  4. Add SVN repository http://ww.molgenis.org/svn
  5. Checkout /molgenis/trunk
  6. Checkout /molgenis_apps/trunk