prerequisites: installed maven 3
run mvn clean install
in project root
move target/integracni-portal.war
to TOMCAT_HOME/webapps
copy etc/portal.properties
and etc/cesnet.properties
to some folder on server (e.g. /var/lib/tomcat7/conf/
) and edit them accordingally (set addresses, passwords, users, ...)
add the -Dportal.config.location=file://<path-to-folder-above>/
VM argument to JAVA_OPTS in TOMCAT_HOME/bin/setenv.sh
:
export JAVA_OPTS="-Dportal.config.location=file:///var/lib/tomcat7/conf/"
set JAVA_OPTS=%JAVA_OPTS% -Dportal.config.location=file:///C:\path\to\conf\folder\
prerequisites:
if gulp and bower are not installed, install them globally
npm install gulp -g
npm install bower -g
run npm install
in project root
if needed, change configuration in config/env_prod.json
run gulp package
in project root
move build/integracni-portal-ui-*.war
file to TOMCAT_HOME/webapps
(and possibly rename to integrani-portail-ui.war to match the root context above)