Instructions for setting up a development environment.
or:
Install Windows Subsystem for Linux:
Docker from any provider.
Install https://rancherdesktop.io Place in ~/Library/Application Support/rancher-desktop/lima/_config/override.yaml:
provision:
- mode: system
script: |
#!/bin/sh
cat <<'EOF' > /etc/security/limits.d/rancher-desktop.conf
- soft nofile 82920
- hard nofile 82920 EOF sysctl -w vm.max_map_count=262144
TBD
From https://github.com/access-ci-org/Operations_Warehouse_Django
From: Operations_Warehouse_Django/developer/docker
-
Edit postgresql.yml and set POSTGRES_PASSWORD
-
docker-compose -f postgresql.yml up -d
-
psql -U opsdba -h localhost -p 5432 postgres postgres=# \i postgresql_setup.sql
-
psql -U info_django -h localhost -p 5432 warehouse2 postgres=# \i backup.dump
From: Operations_Warehouse_Django/developer/docker
- docker-compose -f opensearch.yml up -d
- Using OpenSearch Dashboard 2.1) Create internal user: resource-v4-index/
opensearch.yml came from https://opensearch.org/samples/docker-compose.yml