IMDB Setup

From NeoWiki

Jump to: navigation, search

As you probably want to set up the application and run it, some instructions for this are found here.

Contents

[edit] Setup your environment

  • Make sure you have JDK 1.5+ (5+)
  • Install Maven 2
No previous experience using Maven? No problem at all, you'll just have to install it and follow the instructions. We already configured everything for you.

[edit] Setup the project

  • Download the application: temporary location for svn: [1]
  • Make sure everything compiles:
$ mvn
[INFO] Scanning for projects...
... <lots and lots of download spam> ...
[INFO] BUILD SUCCESSFUL
...
$


[edit] Running the application

  • mvn jetty:run
  • browse to localhost:8080/imdb
  • the port number is set in pom.xml, if you want to change it
  • mvn jetty:stop is used to stop the service

If you are using the Eclispe IDE m2eclipse plug-in, the run configuration for the first Maven goal would look like this:


Image:M2EclipseRunConfiguration.png


[edit] Load data into the node space

  • browse to localhost:8080/imdb/setup.html
  • run the data injection from the page
  • only inject the data once!

[edit] Suggested development environment

We found these tools to be useful for developing this application.

As for OS, we have tested the application under Ubuntu, Windows Vista (doable, but not recommended!) and some other systems.


Next part: IMDB The Domain

Personal tools