15 | | === Using the Eclipse workspace: === |
16 | | Download this version if you want to generate web applications |
17 | | |
18 | | 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). |
19 | | 1. '''Customize'''[[BR]] Start Eclipse and open 'molgenis_workspace' and optionally customize MOLGENIS by editing files in project 'molgenis_distro': |
20 | | * molgenis_db.xml to customize data structure |
21 | | * molgenis_ui.xml to custumize user interface. |
22 | | 1. '''Generate'''[[BR]] Right-click 'handwritten/java/!MolgenisGenerate.java' and choose 'run as -> java application' to automatically generate software code. |
23 | | 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 ;-) |
24 | | 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;'' |
25 | | 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 '' |
26 | | |
27 | | [[BR]]'' See the MolgenisGuide for more details. ''[[BR]] |
28 | | === Online tool: === |
29 | | Use this version if you want to test-drive MOLGENIS |
30 | | |
31 | | 1. Navigate to the [http://gbic.biol.rug.nl/supplementary/2007/molgenis_showcase online showcase] |
32 | | 1. Edit the xml and push the generate button* |
33 | | |
34 | | ''*Note that the online showcase uses a limited version of MOLGENIS.'' |
35 | | |
36 | | 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. |