/ShareWithUkraine

Moby Web & IDP Startup Bootcamp

Primary LanguageJavaScript

Jira Board: https://sharewithukraine.atlassian.net/jira/core/projects/SHARE/board

Figma: https://www.figma.com/file/EMjL1dyDnO0ravl2D8epMj/Ask-for-goods?node-id=0%3A1

Setup base cluster { Kafka, Postgres, Keycloack}

  • Kill any proc running on port 5432

  • Create cluster network

      docker network create -d overlay --attachable cluster_shared_network
    
  • Start /KafkaCluster/docker-compose.yml

      cd KafkaCluster
      docker stack deploy --compose-file docker-compose.yml kafka
    
  • Create database ShareWithUkraine-Keycloak if not present (using pgAdmin4)

  • Change Keycloak configuration, keycloak-17.0.1/conf/keycloack.conf

  • Run Keycloak

      cd keycloak-17.0.1
      chmod 777 kc.sh
      .\bin\kc.sh build --db=postgres
      .\bin\kc.sh start-dev
    
  • Import Keycloack settings

      Go to http://localhost:8080
      Import keycloak-17.0.1/realm-export_1.json with Skip strategy
    
    
      docker-compose -f prometheus-compose.yml up -d     
    
  • From KafkaCluster/

      docker-compose -f nginx-compose.yml up -d 
    
  • Make backend migrations

      https://stackoverflow.com/questions/45382536/how-to-enable-migrations-in-visual-studio-for-mac
    

Ignore file changes: