Difference between revisions of "Imeji install"
Jump to navigation
Jump to search
m (→Git: changed to Git) |
m (→Install sources: changed contact email address) |
||
Line 4: | Line 4: | ||
= Install sources = | = Install sources = | ||
This chapter is intended for developers contributing to Imeji. | This chapter is intended for users running their own instance of Imeji and developers contributing to Imeji. | ||
== Prerequisites == | == Prerequisites == | ||
Before downloading the sources please check: | Before downloading the sources please check: | ||
* Your Java version. In command line, | * Your Java version. In command line, type "java -version". Imeji needs version 1.6 or above. | ||
* Install Eclipse (Eclipse IDE for Java EE Developers) | * Install Eclipse (Eclipse IDE for Java EE Developers) | ||
* Download [http://www.jboss.org/jbossas/downloads/ JBoss 4.2] | * Download [http://www.jboss.org/jbossas/downloads/ JBoss 4.2] | ||
Line 21: | Line 21: | ||
== Compile Imeji == | == Compile Imeji == | ||
* Import Imeji in Eclipse (Import as Maven project) | * Import Imeji in Eclipse (Import as Maven project) | ||
* Set credentials in your settings.xml (for actual values, please contact [mailto: | * Set credentials in your settings.xml (for actual values, please contact [mailto:imeji-community@gwdg.de]): | ||
<code> | <code> | ||
<properties> | <properties> |
Revision as of 13:37, 3 April 2012
This page helps developer to work with Imeji.
Install sources[edit]
This chapter is intended for users running their own instance of Imeji and developers contributing to Imeji.
Prerequisites[edit]
Before downloading the sources please check:
- Your Java version. In command line, type "java -version". Imeji needs version 1.6 or above.
- Install Eclipse (Eclipse IDE for Java EE Developers)
- Download JBoss 4.2
- Install JBoss in Eclipse
- Install Maven
- Integrate Maven in Eclipse
Git[edit]
- Check out sources: https://github.com/MPDL/Imeji
- Create a directory for the Jena database (see next chapter to define it in properties)
Compile Imeji[edit]
- Import Imeji in Eclipse (Import as Maven project)
- Set credentials in your settings.xml (for actual values, please contact [1]):
<properties>
<jboss.install.dir>YOUR_JBOOS_PATH</jboss.install.dir>
<escidoc.framework_access.framework.url>YOUR_CORESERVICE_URL</escidoc.framework_access.framework.url>
<imeji.tdb.path>YOUR_JENA_DIRECTORY</imeji.tdb.path>
<imeji.sysadmin.email>admin_email</imeji.sysadmin.email>
<imeji.sysadmin.password>a_password</imeji.sysadmin.password>
<imeji.escidoc.user>an_escidoc_user</imeji.escidoc.user>
<imeji.escidoc.password>a_password</imeji.escidoc.password>
<framework.admin.username>coreservice_admin_login</framework.admin.username>
<framework.admin.password>password</framework.admin.password>
<imeji.email.server.smtp>YOUR_MAILSERVER</imeji.email.server.smtp>
<imeji.email.user>mailserver_user</imeji.email.user>
<imeji.email.password>mailserver_pwd</imeji.email.password>
<imeji.email.auth>true/false</imeji.email.auth>
<imeji.email.sender>sender_adress</imeji.email.sender>
</properties>
- Check properties in "meta" pom.xml
- Attention: Some properties are related to the coreservice. If you install your own coreservice, you will have to adapt it. If you need help, contact [2]
- Compile presentation : clean install
- Compile ear: clean install jboss:harddeploy
- Start your server
- Imeji is available at http://localhost:8080/faces/