== Download and use MOLGENIS == Download MOLGENIS from Sourceforge: [https://sourceforge.net/projects/molgenis/ download] === Using the Eclipse workspace: === Download this version if you want to generate web applications 1. '''Download (only once)'''[[BR]] Download and unzip the newest 'molgenis_workspace' from: [[BR]][http://sourceforge.net/project/showfiles.php?group_id=228924 sourceforge.net][[BR]] Make sure you have installed MySQL, Tomcat and Eclipse J2EE also (use of postgreSQL, Glassfish and Netbeans is known to work with some effort). 1. '''Customize'''[[BR]] 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. 1. '''Generate'''[[BR]] Right-click 'handwritten/java/!MolgenisGenerate.java' and choose 'run as -> java application' to automatically generate software code. 1. '''Refresh'''[[BR]] 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 ;-) 1. '''Update database'''[[BR]] Right-click 'handwritten/java/!MolgenisUpdateDatabase.java' and choose 'run as -> java application' to auto load the newly generated database into mysql. [[BR]]'' The first time you need to create the database from within mysql:create database molgenis; [[BR]] grant all privileges on molgenis.* to molgenis@localhost identified by 'molgenis'; [[BR]] flush privileges;'' 1. '''Run'''[[BR]] Right-click the project 'molgenis_distro' and choose 'run as' -> 'run on server' to start your newly generated MOLGENIS as web application in Tomcat. [[BR]]''First time you need to point to the tomcat home directory '' [[BR]]'' See the MolgenisGuide for more details. ''[[BR]] === Online tool: === Use this version if you want to test-drive MOLGENIS 1. Navigate to the [http://gbic.biol.rug.nl/supplementary/2007/molgenis_showcase online showcase] 1. 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 by any user under the stipulations of [http://www.gnu.org/licenses/lgpl.html LGPLv3]. Commercial users may want to apply for services or commercial license.