Skip to content

Commit 6b7b770

Browse files
authored
tune the verbiage for TS and Go POR (#121)
* tune the verbiage for TS and Go POR * address a regression
1 parent 7b43135 commit 6b7b770

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

cmd/creinit/creinit.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -322,18 +322,20 @@ func (h *handler) Execute(inputs Inputs) error {
322322
fmt.Println("Next steps:")
323323
fmt.Println("")
324324

325-
if selectedWorkflowTemplate.Name == HelloWorldTemplate {
325+
if selectedLanguageTemplate.Lang == TemplateLangGo && selectedWorkflowTemplate.Name == HelloWorldTemplate {
326+
// Go HelloWorld template is simulatable without any additional setup
326327
fmt.Println(" 1. Navigate to your project directory:")
327328
fmt.Printf(" cd %s\n", projectRoot)
328329
fmt.Println("")
329-
fmt.Println(" 2. Run the worfklow on your machine:")
330+
fmt.Println(" 2. Run the workflow on your machine:")
330331
fmt.Printf(" `cre workflow simulate %s`\n", workflowName)
331332
fmt.Println("")
332333
} else {
334+
// TS templates and Go PoR templates require additional setup, e.g. bun install, RPCs, etc.
333335
fmt.Println(" 1. Navigate to your workflow directory to see workflow details:")
334336
fmt.Printf(" cd %s\n", workflowDirectory)
335337
fmt.Println("")
336-
fmt.Println(" 2. To learn more about this template view the README.MD file:")
338+
fmt.Println(" 2. Follow the README.MD for installation, RPC setup, and workflow details:")
337339
fmt.Printf(" %s\n", filepath.Join(workflowDirectory, "README.md"))
338340
fmt.Println("")
339341
}

internal/settings/settings_generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func GetDefaultReplacements() map[string]string {
4848
"ProductionDonFamily": constants.DefaultProductionDonFamily,
4949

5050
"ConfigPath": "./config.json",
51-
"SecretsPath": "../secrets.yaml",
51+
"SecretsPath": "",
5252
}
5353
}
5454

0 commit comments

Comments
 (0)