Uploaded image for project: 'Qt Cloud'
  1. Qt Cloud
  2. CLOUD-390

Modify setup.sh for geminiAPI

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P2: Important
    • None
    • None
    • General
    • None
    • Gemini development

    Description

      Currently for development environment setup.sh script is generating SSL certs and it's using /nginx as a destination. There should be an option to use it without SSL generation.

      Current output:

      √ microservice % pwd
      /Users/kgorecki/praca/qt/repo/microservice
      √ microservice % ./setup.sh
      ./setup.sh: line 4: realpath: command not foundThis is a one time setup to configure the environment for microservice. This script will
      do the following tasks:    >> Create SSL certificates using OpenSSL if this is going to be the non-production
          environment. If this is a production environment, you have to copy SSL certificates
          at nginx/certs and update nginx config accordingly. (default: non-production)    >> Create an .env file which will be sourced everytime the build.sh, run-service.sh
          scripts are called. This file will be created at /.env.    >> Create a docker network called 'qtci-service-network'. All docker services will
          be run with '--network qtci-service-network'.    >> To run in production mode, press CTRL+C and execute setup.sh production    >> Current mode [develop]To follow the on-screen wizard, press enter or CTRL+C to quit.
      Creating SSL certificates for development use using OpenSSL
      mkdir: /nginx: Read-only file system
      Cannot create directory for SSL certificates
      

      Attachments

        Activity

          People

            as33ms Aseem Shakuntal
            kgorecki Krzysztof Gorecki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: