...
- Make sure one of the supported databases is installed. It is most easy to use MySQL or MSSQL.
- Create a folder for the XperienCentral installation, for example
C:\GX\XperienCentral\
. This folder will be used as an example in all the instructions underneath. - Unzip the XperienCentral release zip file in this folder.
- Open the
settings.xml
and modify it according to your local settings:At
ActiveProfiles
, change theexternaldb
profile and thejcr-standalone
. When you use MSSQL the defaults can be used. For MYSQL change this toexternaldb-mysql
andjcr-standalone-mysql
. Do the same for Oracle.Change the
webmanager.project.basedir
to (C:\GX\XperienCentral
, in this example).Note You must use either forward slashes in the pathname or double backslashes (
C:/GX/XperienCentral-mywebsite
orC:\\XperienCentral/XperienCentral-mywebsite
).- Check the properties beneath the header
<!-- webapp settings -->
. By default don't change them. - Check the database settings and adjust the following properties for
externaldb
andjcr-standalone
.:dbport
dbuser
dbpassword
- Optional:
dbname
Change
localRepository
from a relative path to an absolute path.
- Create a file named
cleaninstall.bat
in the root of XperienCentral release folderC:\GX\XperienCentral
and add the following commands:- The command to create-mssql-db , should be replaced when using MySqL or Oracle.
rmdir apache-tomcat-8.5.14 31 /s /q
7z x ext\apache-tomcat-8.5.1431-windows-x86.zip
rmdir /Q /S C:\GX\XperienCentral\work\
call mvn -s settings.xml -P build-project
call mvn -s settings.xml -P create-mssql-db
call mvn -s settings.xml -P configure-jcr-repository
call mvn -s settings.xml -P configure-tomcat
pause
- The command to create-mssql-db , should be replaced when using MySqL or Oracle.
- Reboot your PC to make sure the environment variables are set and the database is started.
- Double-click
C:\GX\XperienCentral\cleaninstall.bat
(XperienCentral is now built) and follow the progress, you can adjust the Command Prompt properties to have more Screen size and buffer. - You should see four "
Build Success"
messages in the Command prompt. Wait for the messagePress a key…
to appear - XperienCentral is now successfully installed.
...
You run XperienCentral by executing the following file: C:\GX\XperienCentral
\apache-tomcat-8.5.1431\bin\startup.bat
. Wait until you see the message INFO: XperienCentral started successfully in X ms
in the Tomcat log window; XperienCentral is now fully operational. The backend of XperienCentral is available at:
...
You stop XperienCentral by executing the following file: C:\GX\XperienCentral
\apache-tomcat-8.5.1431\bin\shutdown.bat
See Logging in to XperienCentral for complete information on logging in.
...
- Stop Tomcat, .\
apache-tomcat-8.5.1431\bin\shutdown.bat
- Double-click
C:\GX\XperienCentral\cleaninstall.bat
.
...