-
Install ruby version 2.5.0 and mysql on your ubuntu machine
-
Clone the application by running the following command;
-
cd into the application and create configuratin files as follows;
-
Run 'gem install bundler'
5 Run 'bundle install'
-
Copy configuration files as follows;
- cp config/database.yml.example config/database.yml cp config/application.yml.example config/application.yml cp config/dashboard.yml.example config/dashboard.yml
-
Edit config/database.yml file to have correct mysql database settings
-
NB: Please run the command in step8 only if there is no existing openmrs database. Otherwise the above command can be catastrophic by dropping your openmrs database.
When you have an existing openmrs database just load eidr concepts as follows; * mysql [username] [password] [database] < db/eidsr_concepts_with_symptom_syndrome_sets.sql
=========================================================================================================
9 Run user activation script 'rails r bin/load_user_activation_table.rb'
- Run the application with passenger