Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added attributes #123

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ type QuickstartsConfig struct {
Test bool
DbSSLMode string
DbSSLRootCert string
ProductName string // Placeholder for the product name
}

var config *QuickstartsConfig
Expand All @@ -29,6 +30,7 @@ func Init() {
config.ServerAddr = ":8000"
config.OpenApiSpecPath = "./spec/openapi.json"
config.Test = false
config.ProductName = os.Getenv("product_name") // Placeholder for the product name
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct me if I am wrong, but the template should be filled on the front end right?

if clowder.IsClowderEnabled() {
cfg := clowder.LoadedConfig
config.DbHost = cfg.Database.Hostname
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
tags:
title: Configure components
content: |-
App Studio analyzes your code and defines deployment settings for each of your app components. Before we create and deploy your app, check the values in this view. You can also rename each component if you like.
{{product_name}} analyzes your code and defines deployment settings for each of your app components. Before we create and deploy your app, check the values in this view. You can also rename each component if you like.

- Verify the **target port** is correct.

Expand Down