Changes between Initial Version and Version 1 of BuildFromSource


Ignore:
Timestamp:
16.07.2011 18:02:32 (12 years ago)
Author:
JuergeN
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildFromSource

    v1 v1  
     1[[PageOutline]] 
     2 
     3= Build from Source = 
     4 
     5== Requirements == 
     6 * '''Java 1.6''' [[BR]] 
     7   Older Java versions do not work. 
     8  
     9 * '''Git 1.7''' [[BR]] 
     10   Most likely other Git versions (older and newer) work as well. 
     11 
     12 * '''Maven 3''' [[BR]] 
     13   Most likely Maven 2 works as well. 
     14 
     15 
     16== Build == 
     17{{{ 
     18git clone git://github.com/jri/deepamehta3.git 
     19cd deepamehta3 
     20mvn install -P all 
     21}}} 
     22 
     23== Run == 
     24{{{ 
     25mvn pax:run 
     26}}} 
     27This starts the DeepaMehta server and then opens the DeepaMehta web client in a browser window. 
     28If no browser window appears open it manually: http://localhost:8080/de.deepamehta.3-webclient/index.html 
     29 
     30Your terminal is now occupied by the interactive Apache Felix Gogo Shell (press return and you'll see its {{{g!}}} prompt). 
     31 
     32== Stop == 
     33 
     34In the Gogo shell type: 
     35{{{ 
     36exit 0 
     37}}} 
     38This shuts down the web server and puts the database in a consistent state. 
     39 
     40 
     41== Run again == 
     42{{{ 
     43cd deepamehta3 
     44mvn pax:run 
     45}}} 
     46 
     47 
     48== Update == 
     49{{{ 
     50cd deepamehta3 
     51git pull 
     52mvn clean install -P all 
     53}}} 
     54This 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. 
     55