Last modified 3 years ago Last modified on 22/05/09 15:20:12

Building the testmodel application

  1. Check that you have the required software installed and configured, see prerequisites.
  2. Get the InterMine software
  3. Create a file called 'testmodel.properties'
  4. You should now manually create the databases needed by the testmodel application. Execute:
    createdb testmodel-webapp
    createdb testmodel-webapp-userprofile
    
  5. Now initialise the two databases:
    cd testmodel/dbmodel
    ant clean build-db
    ant insert-data-unittest
    
    cd testmodel/webapp/main
    ant build-db-userprofile
    
  6. 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
    
  7. Browse to  http://localhost:8080/intermine-test to view the web interface for the testmodel application.

See: GettingStarted, QuickStart