This guide will describe how to install eSaude EMR on Ubuntu. To understand the difference between eSaude EMR Platform and eSaude EMR POC see the versions page.eSaude EMR PlatformFollow the instruction below to manually install the eSaude EMR Platform. To automatically set up an environment using Docker, see the instructions here (or here if you want to include the POC system in the Docker setup). 1. Install Prerequisite Software
2. Configure DatabaseConnect to MySQL server on the command line as follows: $ mysql -uroot -p You will have to enter the root password you chose when installing MySQL server. Create a database called openmrs and a user called esaude with password, say, esaude . This can be done by executing the following command:CREATE DATABASE openmrs; CREATE USER 'esaude'@'localhost' IDENTIFIED BY 'esaude'; Grant the esaude user all permissions on the openmrs database:GRANT ALL ON openmrs.* TO 'esaude'@'localhost' IDENTIFIED BY 'esaude'; Finally, download the latest eSaude EMR Platform database from here, extract it and import it as follows: $ mysql -uroot -p openmrs < esaude-platform-database.sql 3. Deploy eSaude EMR PlatformFirst we need to create a working directory for OpenMRS called .OpenMRS (note the . ). On Ubuntu it should be located at /usr/share/tomcat7/.OpenMRS . See this wiki page for the location on other platforms.Create the eSaude EMR Platform runtime settings file at /usr/share/tomcat7/.OpenMRS/openmrs-runtime.properties with the content listed below.connection.url=jdbc:mysql://localhost:3306/openmrs?autoReconnect=true&sessionVariables=storage_engine=InnoDB&useUnicode=true&characterEncoding=UTF-8 module.allow_web_admin=true connection.username=esaude auto_update_database=false connection.password=esaude Make sure connection.username and connection.password match the MySQL user you created above.Download the eSaude EMR Platform modules here and copy all of the .omod files into the /usr/share/tomcat7/.OpenMRS/modules/ folder.Lastly, copy the openmrs.war file from here into the /var/lib/tomcat7/webapps/ folder and restart Tomcat. On Ubuntu, this is done as follows:$ sudo service tomcat7 restart 4. Access
To set up the eSaude EMR POC system automatically with Docker (including eSaude EMR Platform) see this repository. To manually install the POC system see the instructions in the repository README. |
Technical Resources >