| 1 | | asd |
| | 1 | 1. Go to Mysql in the terminal and create new database ([http://wiki.gcc.rug.nl/wiki/GccManuals/New_Tutorial_Molgenis/Setup_MySQL_database see MySQL tutorial]) named animaldb_pheno |
| | 2 | |
| | 3 | 2. In Eclipse go to gcc -> handwritten /apps -> org.molgenis -> animaldb |
| | 4 | |
| | 5 | 3. Open animaldb.properties[[BR]] search for db_uri, check if animaldb_pheno is the database. Looks like this: ''!jdbc:mysql://__localhost__/animaldb_pheno?innodb_autoinc_lock_mode=2'' |
| | 6 | |
| | 7 | 4. Open AnimalDBGenerate.java, run application as '''java application.''' |
| | 8 | |
| | 9 | 5. Right click on gcc project en refresh |
| | 10 | |
| | 11 | 6. Open AnimalDBUpdateDatabase.java and run as '''java application''' |
| | 12 | |
| | 13 | 7. Right click on gcc project and run as run '''on server'''. The first time you have to select the tomcat server (give path to the server, see also [http://wiki.gcc.rug.nl/wiki/GccManuals/New_Tutorial_Molgenis/Setup_Tomcat_server setup Tomcat]) |