@@ -27,10 +27,14 @@ This repository is used to store infrastructure code for deploying OpenCRVS.
2727
2828## Prerequisites
2929
30+ Hardware requirements:
31+ - 16G RAM
32+
3033Ensure you have one of the following solutions installed on your laptop:
3134- [ ** Recommended** ] : Docker Desktop (with Kubernetes enabled): https://www.docker.com/products/docker-desktop/ . Please check following:
3235 - Enable host networking
3336 - Enable Kubernetes
37+ - Ensure docker-desktop is configured to use at least 16G of RAM
3438- MicroK8s: https://microk8s.io/
3539- Minikube: https://minikube.sigs.k8s.io/docs/
3640
@@ -73,6 +77,14 @@ You need to clone the [opencrvs-core](https://github.com/opencrvs/opencrvs-core)
73778. Navigate to [http://localhost:10350/](http://localhost:10350/)
74789. Once all container images are up and running your environment will be available at https://opencrvs.localhost
7579
80+
81+ ** NOTE:** On local environment you need manually access self signed certificate for the following URLs:
82+ - https://login.opencrvs.localhost/
83+ - https://gateway.opencrvs.localhost/ping
84+ - https://register.opencrvs.localhost/ping
85+ - https://countryconfig.opencrvs.localhost/ping
86+
87+
7688---
7789
7890# # For OpenCRVS Country Config Developers
@@ -132,15 +144,20 @@ repositories/
1321448. Navigate to [http://localhost:10350/](http://localhost:10350/)
1331459. Once all container images are up and running your environment will be available at https://opencrvs.localhost
134146
147+ ** NOTE:** On local environment you need manually access self signed certificate for the following URLs:
148+ - https://login.opencrvs.localhost/
149+ - https://gateway.opencrvs.localhost/ping
150+ - https://register.opencrvs.localhost/ping
151+ - https://countryconfig.opencrvs.localhost/ping
152+
135153# # Seed data
136154
137- 1. Navigate to file ` kubernetes/opencrvs-services/values-dev.yaml` in opencrvs-core (or your country config) repository
138- 2. Change value ` data_seeder.enabled` to ` true` .
139- 3. Save changes
140- 4. New tilt resource ` data-seeder` will be created, check [http://localhost:10350/](http://localhost:10350/)
141- 5. Make sure data-seeder job completed without issues.
142- 6. Change value ` data_seeder.enabled` to ` false` .
143- 7. Save changes
155+ 1. Navigate to [http://localhost:10350/](http://localhost:10350/)
156+ 2. Scroll to section ` 2.Data-tasks` and find resource ` Reset database`
157+ 3. Run resource using reload button
158+
159+ See screenshot for more information:
160+ ! [](doc/images/seed-data-on-local-env.png)
144161
145162# # Common issues
146163
0 commit comments