- Install nodejs
- npm install –global expo-cli //run in cmd
- expo init my-project // run in cmd
- npm start / expo start // run in cmd
- expo build:android
Install dhis2 in ubuntu docker
https://unix.stackexchange.com/questions/363048/unable-to-locate-package-docker-ce-on-a-64bit-ubuntu
https://developers.dhis2.org/guides/dhis2-docker
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install gnupg curl
USER=anwar
sudo useradd -U -G sudo -b /home $USER
sudo passwd $USER
curl -sSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add –
VERSION=node_12.x
DISTRO=”$(lsb_release -s -c)”
echo “deb https://deb.nodesource.com/$VERSION $DISTRO main” | sudo tee /etc/apt/sources.list.d/nodesource.list
echo “deb-src https://deb.nodesource.com/$VERSION $DISTRO main” | sudo tee -a /etc/apt/sources.list.d/nodesource.list
sudo apt-get update
sudo apt-get install nodejs
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add –
echo “deb https://dl.yarnpkg.com/debian/ stable main” | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install yarn
sudo apt-get update
sudo apt-get install \
apt-transport-https \
ca-certificates \
software-properties-common
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add –
sudo add-apt-repository “deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable”
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
sudo chown “$USER”:”$USER” /home/”$USER”/.docker -R
sudo chmod g+rwx “$HOME/.docker” -R
echo “{ \”data-root\”: \”/custom/docker/data/dir\”, \”exec-root\”: \”/custom/docker/dir\” }” | sudo tee /etc/docker/daemon.json
sudo systemctl start docker
sudo systemctl enable docker
sudo systemctl disable docker
sudo curl -L “https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)” -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
====================================================================
yarn global add @dhis2/cli
d2 cluster up 2.35.0 –db-version 2.35 –port 8080
===================================================================
dhis2 re-installing processes:
d2 cluster list
d2 cluster down
d2 cluster down 2.35.0
docker ps -a
////docker rm ID_or_Name
docker rm 444d8248f221
docker images -a
docker rmi 298ec0e28760
docker rmi 5e6f392e99e5
docker rmi 62fb96702cf2
docker rmi 19d027b65340
d2 cluster up 2.35.0 –db-version 2.35 –port 8080
d2 cluster down 2.35.0
docker system prune -a
docker image prune
docker container prune
docker volume prune
docker network prune
d2 cluster up 2.35.0
How to Install VPN Software in Windows 10
Step 1. Install “GVCSetup64_4.9.4.0306_EN.exe”
Step 2. Install “vpnclient-winx64-msi-5.0.07.0440-k9.exe”
Step 3 – Edit the Windows Registry – Fix the Reason 442: Failed to Enable Virtual Adapter Error
At this point, the workstation has a fresh installation of the Cisco VPN Client, but will fail to work and produce the well-known Reason 442: Failed to enable Virtual Adapter Error.
To fix this issue, follow the steps below:
- Open your Windows Registry Editor by typing regedit in the Search Windows area.
- Browse to the Registry Key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CVirtA
- From the window on the right, select and right-click on DisplayName and choose Modify from the menu. Alternatively, double-click on DisplayName:
For Windows 10 32bit (x86) operating systems, change the value data from “@oem8.inf,%CVirtA_Desc%;Cisco Systems VPN Adapter” to “Cisco Systems VPN Adapter”.
For Windows 10 64bit (x64) operating systems, change the value data from “@oem8.inf,%CVirtA_Desc%;Cisco Systems VPN Adapter for 64-bit Windows” to “Cisco Systems VPN Adapter for 64-bit Windows” as shown below:
The registry key now shows the correct DisplayName value data:
How to Install dhis2 in Docker
https://developers.dhis2.org/guides/quickstart-app-development
Install Docker
https://docs.docker.com/get-docker/
Install yarn
npm install --global yarn
From the command line or terminal, install the DHIS CLI globally
yarn global add @dhis/cli
OR
npm install –global @dhis2/cli
From the terminal, start up DHIS2 and seed the database
d2 cluster up 2.35.0 –db-version 2.35 –port 8085
The Compose file ‘C:\Users\Anwar.cache\d2\cache\clusters\2.35.0\docker-compose\cluster\docker-compose.yml’ is invalid because:
services.gateway.ports contains an invalid type, it should be a number, or an object
C:\Users\Anwar.cache\d2\cache\clusters\2.35.0\docker-compose\cluster\docker-compose.yml
gateway:
image: “jwilder/nginx-proxy:alpine”
restart: always
ports:
- “8085:80”
dhis2 all links
Tracker Web API
https://docs.dhis2.org/2.35/en/developer/html/webapi_tracker_api.html
https://docs.dhis2.org/2.35/en/implementer/html/offline_data_entry.html
https://docs.dhis2.org/en/develop/using-the-api/dhis-core-version-master/tracker.html
How to Install a DHIS2 local instance
https://developers.dhis2.org/docs/guides/spin-up-local-instance/
DHIS2 App development guides
https://www.fiftythreetwenty.com/learn/dhis2/app-development-guides/
DHIS2 UI Components
https://ui.dhis2.nu
DHIS2 UI Components Demo
https://ui.dhis2.nu/demo
DHIS2 Application Runtime supported React Hooks
https://runtime.dhis2.nu/#/hooks/
DHIS2 Application Hub
https://apps.dhis2.org/
DHIS2 Web App Development Academy 2020 Samples
https://github.com/dhis2/academy-web-app-dev-2020
Bulk-Load GitHub React App source code
https://github.com/EyeSeeTea/Bulk-Load
dhis2 application development steps
https://www.fiftythreetwenty.com/learn/dhis2/app-development-guides/
https://developers.dhis2.org/docs/guides/spin-up-local-instance/
https://github.com/dhis2/academy-web-app-dev-2020
https://developers.dhis2.org/guides/dhis2-docker
https://developers.dhis2.org/guides/quickstart-app-development
https://runtime.dhis2.nu/#/hooks/useDataQuery
https://github.com/EyeSeeTea/Bulk-Load
npm install --global yarn yarn global add @dhis2/cli OR npm install --global @dhis2/cli d2 app scripts init <app-name> Create a folder (dhis2_apps) and get into it and run the following command. d2 app scripts init hellod2worldapp1 cd hellod2worldapp1 yarn start for existing app, go to the folder and run yarn install http://localhost:3001 http://localhost:8085/dhis-web-settings/index.html#/access CORS whitelist http://* Host: http://localhost:8085 User: admin Pass: district yarn build Find the app here D:\xampp7227\htdocs\dhis2_apps\MyD2App1\build\bundle\hellod2worldapp1.zip