OpenNCP Portal upgrades to Liferay 6.2.0 CE GA1
From now on and the latest version of openncp portal has to be deployed under Liferay portal 6.2 CE GA1. In order to upgrade your installation you have to follow the instructions below:
- Download this liferay version from here
- Populate the database using the scripts that can be found here
- Adjust portal-ext.properties file with the following options
# # MySQL (You can confiure any other database by providing the appropriate settings)
jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=jdbc:mysql://localhost/lp62?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
jdbc.default.username=<username>
jdbc.default.password=<password>
# EPSOS ROLES (These roles will be created by default on openncp portal startup
system.roles=Doctor,Pharmacist,Patient,Nurse
system.role.Doctor.description=Doctor Role
system.role.Pharmacist.description=Pharmacist Role
system.role.Patient.description=Patient Role
system.role.Nurse.description=Nurse role
Then download the latest artifacts from joinup and install them in openncp portal using one of the following ways:
- Copy the war files in the "deployment" folder placed under openncp portal directory
- Using AppManager of OpenNCP Portal that can be found at http://<your-ip-address./group/control_panel?refererPlid=10602&p_p_id=3_WAR_marketplaceportlet
Configure HCER.PROPERTIES
If you want to use the functionality of using hcer database (used by trillium) you have to create a file named hcer.properties under EPSOS_PROPS_PATH with the following content
jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=jdbc:mysql://localhost:3306/hcer?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
jdbc.default.username=<username>
jdbc.default.password=<password>