wiki:MolgenisDownload

Version 5 (modified by Morris Swertz, 15 years ago) (diff)

--

Download and use MOLGENIS

The MOLGENIS can be downloaded or used online:

Using the Eclipse workspace:

Download this version if you want to generate web applications

  1. Download (only once)
    Download and unzip the newest 'molgenis_workspace' from:
    sourceforge.net
    Make sure you have installed MySQL, Tomcat and Eclipse J2EE also (use of postgreSQL, Glassfish and Netbeans is known to work with some effort).
  2. Customize
    Start Eclipse and open 'molgenis_workspace' and optionally customize MOLGENIS by editing files in project 'molgenis_distro':
    • molgenis_db.xml to customize data structure
    • molgenis_ui.xml to custumize user interface.
  3. Generate
    Right-click 'handwritten/java/MolgenisGenerate.java' and choose 'run as -> java application' to automatically generate software code.
  4. Refresh
    Right-click on 'molgenis_distro' and choose refresh to make the project compile. This also gets rid of any compile errors ... unless you created them ;-)
  5. Update database
    Right-click 'handwritten/java/MolgenisUpdateDatabase.java' and choose 'run as -> java application' to auto load the newly generated database into mysql.
    The first time you need to create the database from within mysql:create database molgenis;
    grant all privileges on molgenis.* to molgenis@localhost identified by 'molgenis';
    flush privileges;
  6. Run
    Right-click the project 'molgenis_distro' and choose 'run as' -> 'run on server' to start your newly generated MOLGENIS as web application in Tomcat.
    First time you need to point to the tomcat home directory


See the MolgenisGuide for more details.

Online tool:

Use this version if you want to test-drive MOLGENIS

  1. Navigate to the online showcase
  2. Edit the xml and push the generate button*

*Note that the online showcase uses a limited version of MOLGENIS.

The MOLGENIS generator is open source and can be used free of charge under the stipulations of GPLv3. Commercial users may want to apply for services or commercial license.