Skip to content

kwatuha/dwapi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Download docker

Ubuntu 12 64 bit

Ubuntu 14 64 bit

Ubuntu 17 64 bit

  1. Install docker

changing the path below to the path where you downloaded the Docker package


sudo dpkg -i /path/to/package.deb


  1. Install DWAPI


sudo docker run --name dwapi -p 5757:5757 -d --restart unless-stopped kenyahmis/dwapi:latest


  1. Update your browser

sudo apt-get update sudo apt-get install firefox

  1. Configure MySQL

Edit your my.cnf file, which usually lives on /etc/mysql/my.cnf on Unix/OSX systems. In some cases the location for the file is /etc/mysql/mysql.conf.d/mysqld.cnf).

Change line bind-address = 127.0.0.1 to #bind-address = 127.0.0.1

run this SQL command locally:

GRANT ALL PRIVILEGES ON . TO 'dwapi'@'%' IDENTIFIED BY 'dwapi' WITH GRANT OPTION; FLUSH PRIVILEGES;

  1. Start DWAPI

On your browser open dwapi on https://localhost:5757 Configure your data sources and verify registries

  1. Restart DWAPI


sudo docker restart dwapi


Troubleshooting DWAPI

i) View log files

sudo docker exec -it dwapi ls logs

ii) Copying log files folder to your pc current directory.

sudo docker cp dwapi:/app/logs/ .

Dwapi for Windows Instruction

  1. Install prerequisite(NetCore Runtime) https://www.microsoft.com/net/download/dotnet-core/2.1
  2. Install DWAPI https://data.kenyahmis.org:81/dwapi/client/downloads/dwapi.exe

Packages

No packages published

Languages

  • CSS 51.1%
  • C# 35.7%
  • TypeScript 10.0%
  • HTML 3.0%
  • Other 0.2%