Last modified 3 years ago
Last modified on 22/05/09 15:20:12
Building the testmodel application
- Check that you have the required software installed and configured, see prerequisites.
- Get the InterMine software
- Create a file called 'testmodel.properties'
- This file tells the testmodel application which databases to use.
- You will need to change the properties to your own database server and database username/password.
- Put it in ~/.intermine with the following contents. includeConf(trunk/intermine/doc/example/testmodel.properties)?
- You should now manually create the databases needed by the testmodel application. Execute:
createdb testmodel-webapp createdb testmodel-webapp-userprofile
- Now initialise the two databases:
cd testmodel/dbmodel ant clean build-db ant insert-data-unittest cd testmodel/webapp/main ant build-db-userprofile
- Build the testmodel web application and release to the running tomcat:
cd testmodel/webapp/main ant default release-webapp
If you have previously released a webapp to /intermine-test you will need to remove it as well:cd testmodel/webapp/main ant default remove-webapp release-webapp
- Browse to http://localhost:8080/intermine-test to view the web interface for the testmodel application.
See: GettingStarted, QuickStart
