{"id":19567706,"url":"https://github.com/its-kios09/kenyaemr-dwapi","last_synced_at":"2026-06-09T22:31:08.230Z","repository":{"id":158917780,"uuid":"634305541","full_name":"its-kios09/KENYAEMR-DWAPI","owner":"its-kios09","description":"Official images for running DWAPI on 64 bit linux systems ","archived":false,"fork":false,"pushed_at":"2023-04-29T18:16:19.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T10:13:48.452Z","etag":null,"topics":["shell","ubuntu2004"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/its-kios09.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-04-29T17:41:23.000Z","updated_at":"2023-08-06T00:29:20.000Z","dependencies_parsed_at":"2023-05-31T19:45:38.605Z","dependency_job_id":null,"html_url":"https://github.com/its-kios09/KENYAEMR-DWAPI","commit_stats":null,"previous_names":["its-kios09/kenyaemr-dwapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/its-kios09/KENYAEMR-DWAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/its-kios09%2FKENYAEMR-DWAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/its-kios09%2FKENYAEMR-DWAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/its-kios09%2FKENYAEMR-DWAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/its-kios09%2FKENYAEMR-DWAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/its-kios09","download_url":"https://codeload.github.com/its-kios09/KENYAEMR-DWAPI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/its-kios09%2FKENYAEMR-DWAPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34129072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["shell","ubuntu2004"],"created_at":"2024-11-11T05:40:53.991Z","updated_at":"2026-06-09T22:31:08.211Z","avatar_url":"https://github.com/its-kios09.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# KENYAEMR-DWAPI\nOfficial images for running DWAPI on 64 bit linux systems \n\n#### 1.0 Download and install Docker\nIf you do not have Docker installed, visit https://docs.docker.com/get-started/#download-and-install-docker and choose your preferred operating system to download and install Docker\n\n#### 1.1 Install Docker in UBUNTU 20.0.4\nIf you do not have Docker installed, use the following steps:\n\n#### Step 1.1.0: Update the software repository\n    sudo apt update\n#### Step 1.1.1: Download Dependencies\n    sudo apt-get install apt-transport-https ca-certificates curl software-properties-common\n\nThe above-mentioned command:\n  - Gives the package manager permission to transfer files and data over https.\n  - Allows the system to check security certificates.\n  - Installs curl, a a tool for transferring data.\n  - Adds scripts for managing software.\n \n#### Step 1.1.2: Add Docker's GPG Key\nNext, add the GPG key to ensure the authenticity of the software package.\n      \n      curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -\n#### Step 1.1.3: Installing the Docker Repository\nNow install the Docker repository using the command:\n\n      sudo add-apt-repository \"deb [arch=amd64] https://download.docker.com/linux/ubuntu  $(lsb_release -cs)  stable\"\n  \nThe command installs the latest repository for your specific Ubuntu release (in this case, 20.04).\n\n#### Step 1.1.4: Installing the Latest Docker\nStart by updating the repository again\n      \n      sudo apt update\n      \nNow you can install the latest Docker version with:\n      \n      sudo apt-get install docker-ce\n\n#### Step 1.1.6: Verifying Docker Installation:\nTo confirm the installation check the version of Docker:\n\n      docker --version\n\n#### Step 1.1.7: Enable Docker Service:\nTo start the Docker service run the following command:\n      \n      sudo systemctl start docker\n\n#### Step 1.1.8: Enable Docker to run at startup with:\n\n      sudo systemctl enable docker\n      \n#### Step 1.1.9: To check the status of the service, use the command:\n\n      sudo systemctl status docker\n\n### DWAPI Setup\n\n#### Step 1.2.0: New Installation:\n\nInstall DWAPI\n    \n    sudo docker run --name dwapi -p 5757:5757 -p 5753:5753 -d --restart unless-stopped kenyahmis/dwapi:latest\n\n#### Step 1.2.1: Upgrading Existing Installation:\n\nUpgrading DWAPI to latest version\n\n    sudo docker ps -a | grep \"dwapi\" | awk '{print $1}' | xargs sudo docker rm -f\n    sudo docker images -a | grep \"dwapi\" | awk '{print $3}' | xargs sudo docker rmi\n    sudo docker run --name dwapi -p 5757:5757 -p 5753:5753 -d --restart unless-stopped kenyahmis/dwapi:latest\n\n### MySQL Setup\n\nConfigure MySQL to allow remote access. Edit your my.cnf file which is found on /etc/mysql/my.cnf OR /etc/mysql/mysql.conf.d/mysqld.cnf depending on your mysql installation\n\n#### 1.3.0: MySQL 5.5\nChange line \n      \n      bind-address = 127.0.0.1 to #bind-address = 127.0.0.1\n\n#### 1.3.1: MySQL 5.6 - add the line if it does not exists\n\t    \n      bind-address = *\n      \n#### 1.3.2: Create a DWAPI database user for MySQL\n\n      create user 'dwapi'@'%' identified by 'dwapi';\n      \n#### 1.3.3: Assign privileges to the DWAPI database user for MySQL\n\n      GRANT ALL PRIVILEGES ON *.* TO 'dwapi'@'%' IDENTIFIED BY 'dwapi' WITH GRANT OPTION; \n      FLUSH PRIVILEGES;\n\n### Using DWAPI\n#### 1.4.0: Start DWAPI\nOn your browser open dwapi on https://localhost:5753\n\nConfigure your data sources and verify registries\nPlease note that for the database connection will need to specify the IP address of the computer and NOT localhost or 127.0.0.1\n\n#### 1.4.1 Restart DWAPI:\n    sudo docker restart dwapi\n\n#### 1.4.2 Troubleshooting DWAPI:\nView log files\n\n      sudo docker exec -it dwapi ls logs\n      \nCopying log files folder to your pc current directory.\n\n      sudo docker cp dwapi:/app/logs/ .\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fits-kios09%2Fkenyaemr-dwapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fits-kios09%2Fkenyaemr-dwapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fits-kios09%2Fkenyaemr-dwapi/lists"}