devQuickstart
Latest Sources
Pre-Requisites
- Java JDK1.5+
- Subversion
- You may prefer to use a GUI to work with Subversion, such as RapidSVN
- Apache Maven
Get Source Files
svn checkout http://simal.googlecode.com/svn/trunk/ $PROJECT_HOME/simal-trunk
where $PROJECT_HOME is your chosen project directory
NOTE: Use https rather than http if you are a committer
Installing
The installation process is not as streamlined as it should be right now. However, we are working on it and welcome your help.
Core
cd $PROJECT_HOME/simal-trunk/uk.ac.osswatch.simal.core mvn install
REST
cd $PROJECT_HOME/simal-trunk/uk.ac.osswatch.simal.rest mvn install
Web Application
Now you need to configure the webapp for your server.
Create a file called
local.simal.properties
in
$PROJECT_HOME/simal-trunk/uk.ac.osswatch.simal.web
and open it in your favourite editor. This file contains the local configuation for your web application.
As a minimum you must set the following properties:
simal.user.webapp.baseurl=http://localhost:8080 simal.rest.baseurl=http://localhost:8080/simal-rest
Other configuration proerties are available. See
$PROJECT_HOME/uk.ac.osswatch.simal.core/src/main/resources/default.simal.properties
for details.
Running
Simal is made up of three components and therefore can be accessed in three ways. Each of these is described below in order of usefulness to the average user (or reverse order for the average developer).
Note, in all these cases the documentation is currently held in SVN, we've not got around to publishing it yet.
Simal Web Application
The Simal web module provides a web application that provides a GUI interface to a Simal repostory. Instructions for running the webappare available in the webapp docs (hint "mvn jetty:run" after installing the core and rest modules in your Maven repository - see above).
Simal Rest
Simal rest is a module providing a REST API to Simal. Instructions for running and accessing the REST APIare available in the REST module docs (hint "mvn jetty:run" after installing the core module in your Maven repository - see above).
Simal Core
Simal core is the back end systems. It contains the data model, data services and repository. Simal core provides a command line interface.
See the documentation for running Simal corevia the command line.
Questions?
Documentation never answers all your questions. We welcome your suggestions via our mailing list.