-
Notifications
You must be signed in to change notification settings - Fork 3
How to start my own portal based on mavenized Entando
Matteo Emanuele M. edited this page Jul 11, 2013
·
24 revisions
Even if these instructions are perfectly valid you can check out a more comprehensive guide here.
I work at My Company, whose website is http://www.mycompany.com/
Before Entando v2.4.0, I was able to instantiate a portal myNewPortal
from jAPS 2.0 entando.
Now I want to do it with mavenized Entando.
- Create a new maven project and, when asked:
- Use the
entando-archetype-portal-generic
archetype -
groupId
:com.mycompany.projects
-
artifactId
:myNewPortal
-
package
:com.mycompany.projects.myNewPortal
- Use the
- Check and edit
src/main/filters/filter-development-unix.properties
(orfilter-development-windows.properties
for Windows machines) - Check and edit
buildProperties.xml
Done. You can:
-
mvn package
to get the war in development mode - or
Run As --> Run on Server
if you use Eclipse Indigo - or
mvn clean jetty:run
if you prefer Jetty
The default DBMS is Derby, if you want to change:
- Go to Administration Area > Tools > Database and Create a Backup > Execute Backup
- Edit the filters configuration (add comments on the rows about "Database Configuration: DERBY" and remove comments on the rows about the DBMS you want)
- Create the database tables running the proper ant task e.g.
ant MySQL-db-create
orant PG-db-create
When you are ready to deploy, check and edit src/main/filters/filter-production.properties
and launch ant WAR-build
.
All the material here contained is published under the GNU Free Documentation License v1.3
The Entando trademark and logo are registered trademarks of Entando, srl. All
Rights Reserved.
All other trademarks are the property of their respective owners.