Info : If you don't have your own dev env (IDE, Java, Maven, etc), check this part: install a default env with Eclipse

Clone with your IDE or git the mandatory repositories and add the projets in your IDE.

Clone with your IDE or git this repositories and add the projets in your IDE.

https://github.com/qalingo/qalingo-engine (all the Core, jars)

https://github.com/qalingo/qalingo-i18n (all the wording)

https://github.com/qalingo/qalingo-shared (all the shared files like .propeties)

https://github.com/qalingo/qalingo-assets (all the assets like catalog jpg/png files)

https://github.com/qalingo/qalingo-web-classic-fo-bo (classic MVC backoffices and frontoffices)

Maven configuration

You will found the settings.xml configuration here https://github.com/qalingo/qalingo-quick-start-windows-env/tree/master/qalingo/tools/Maven_m2_conf

You can replace your default Maven configuration or In this file there the Maven profile to use "dev-qalingo" and the proxy repository nexus.hoteia.com

Database configuration

There is all the SQL defaut configuration and demo datas in the "qalingo-b2c-engine" repository.

qalingo-b2c-engine\qalingo-misc\qalingo-sql\src\main\resources\sql\mysql

Some Maven goals are in the sub project qalingo-b2c-engine\qalingo-misc\qalingo-sql\; to help you to manage the database. Don't forget to change project setting values for the "dev-qalingo" profile in your Maven conf settings.xml

The default name of the database is "qalingo" and defined in create-database-qalingo.sql.

Create database, load SQL schema,load core datas with demo datas:

mvn clean install -P dev-qalingo -Dskip-setup-mysql=false

or Create database, load SQL schema,load core datas without demo datas:

mvn clean package -P dev-qalingo -Dskip-setup-mysql=false

Apache configuration

You can run the project with Apache and without, directly with Tomcat (with Apache, this is cleaner).

The linux configuration is here:

https://github.com/qalingo/qalingo-quick-start-linux-env/tree/master/qalingo/servers/Apache_conf

The windows configuration is here:

https://github.com/qalingo/qalingo-quick-start-windows-env/tree/master/qalingo/servers/Apache_conf

Tomcat configuration

We are working with many Tomcat instances, and set the port at start. Connfiguration file server.xml is available here:

The linux configuration is here:

https://github.com/qalingo/qalingo-quick-start-linux-env/tree/master/qalingo/servers/Tomcat

The windows configuration is here:

https://github.com/qalingo/qalingo-quick-start-windows-env/tree/master/qalingo/servers/Tomcat

Build all and Run

To build all the project use a pom.xml global at the root of your workspace.

Like this one https://github.com/qalingo/qalingo-project-parent

To run your Tomcat, we use scripts (sh/bat) but you take your own way.

The linux batch files are here:

https://github.com/qalingo/qalingo-quick-start-linux-env/tree/master/qalingo/bin

The windows batch files are here:

https://github.com/qalingo/qalingo-quick-start-windows-env/tree/master/qalingo/bin

mvn clean install -P dev-qalingo