Version 2 (modified by jri, 13 years ago) (diff) |
---|
Build from Source
Requirements
- Java 1.6
Older Java versions do not work.
- Git 1.7
Most likely other Git versions (older and newer) work as well.
- Maven 3
Most likely Maven 2 works as well.
Build
git clone git://github.com/jri/deepamehta3.git cd deepamehta3 mvn install -P all
Run
mvn pax:run
This starts the DeepaMehta server and then opens the DeepaMehta web client in a browser window. If no browser window appears open it manually: http://localhost:8080/de.deepamehta.3-webclient/index.html
Your terminal is now occupied by the interactive Apache Felix Gogo Shell (press return and you'll see its g! prompt).
Stop
In the Gogo shell type:
stop 0
This shuts down the web server and puts the database in a consistent state.
Run again
cd deepamehta3 mvn pax:run
Update
cd deepamehta3 git pull mvn clean install -P all
This can be performed on a running DeepaMehta instance (from another terminal). The new code is hot-deployed. Of course you can stop the instance before updating as well.