diff --git a/_generator/default/project/definitions/golang/README_QX.md b/_generator/default/project/definitions/golang/README_QX.md index 0f043a7..21789ed 100644 --- a/_generator/default/project/definitions/golang/README_QX.md +++ b/_generator/default/project/definitions/golang/README_QX.md @@ -1,11 +1,23 @@ -# Project +# Project {{.Name}} -One Paragraph of project description goes here +One Paragraph of {{.Name}} project description goes here ## Getting Started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. +## Prerequisites + +The assumption is that you have the following commands in your execution path: + +1. qaskx-cli - The qaskx tool +2. go-blueprint - The Golang blueprint command +3. code - Microsoft Visual Code +4. make - The legacy make command + +Each of the above are executables available on +Linux, Windows and MacOS + ## MakeFile Build the application diff --git a/_generator/default/project/goblueprint.json b/_generator/default/project/goblueprint.json index 4308951..dba23e4 100644 --- a/_generator/default/project/goblueprint.json +++ b/_generator/default/project/goblueprint.json @@ -13,11 +13,10 @@ "output_folder": "^/", "output_name": "*", "model": { - "activity": "INSTALL", "id": "goblueprint", "script": "go-blueprint", "pre":[ - "create --name distribute_message --framework echo --driver sqlite --advanced --feature docker --git skip" + "create --name {{.Name}} --framework echo --driver sqlite --advanced --feature docker --git skip" ], "post": [] } @@ -29,14 +28,7 @@ "folder": "{{.TemplateDefinition.SelfFolder}}/definitions/golang/build", "file_name": "*", "output_folder": "^/build", - "output_name": "*", - "model": { - "activity": "", - "id": "", - "script": "", - "pre":[], - "post": [] - } + "output_name": "*" }, { "engine": "", diff --git a/_generator/default/project/gobp001.json b/_generator/default/project/gobp001.json new file mode 100644 index 0000000..7a63a60 --- /dev/null +++ b/_generator/default/project/gobp001.json @@ -0,0 +1,50 @@ +{ + "name": "gobp-echo-sqlite-docker", + "guide": "{{.SelfFolder}}/gobp001.md", + "description": "golang blueprint with Echo, sqlite and docker", + "subtype": "", + "action": "", + "templates": [ + { + "engine": "", + "section": "INSTALL", + "folder": "", + "file_name": "", + "output_folder": "^/", + "output_name": "*", + "model": { + "id": "goblueprint", + "script": "go-blueprint", + "pre":[ + "create --name {{.Name}} --framework echo --driver sqlite --advanced --feature docker --git skip" + ], + "post": [] + } + }, + + { + "engine": "", + "section": "", + "folder": "{{.TemplateDefinition.SelfFolder}}/definitions/golang/build", + "file_name": "*", + "output_folder": "^/build", + "output_name": "*" + }, + { + "engine": "", + "section": "", + "folder": "{{.TemplateDefinition.SelfFolder}}/definitions/golang", + "file_name": "*", + "output_folder": "^/", + "output_name": "*" + }, + { + "engine": "", + "section": "", + "folder": "{{.TemplateDefinition.SelfFolder}}/definitions/golang/.well-known", + "file_name": "*", + "output_folder": "^/.well-known", + "output_name": "*" + } + ] +} \ No newline at end of file diff --git a/_generator/default/project/gobp002.json b/_generator/default/project/gobp002.json new file mode 100644 index 0000000..5858a9c --- /dev/null +++ b/_generator/default/project/gobp002.json @@ -0,0 +1,50 @@ +{ + "name": "gobp-simple-docker", + "guide": "{{.SelfFolder}}/gobp002.md", + "description": "golang blueprint for CLI with docker", + "subtype": "", + "action": "", + "templates": [ + { + "engine": "", + "section": "INSTALL", + "folder": "", + "file_name": "", + "output_folder": "^/", + "output_name": "*", + "model": { + "id": "goblueprint", + "script": "go-blueprint", + "pre":[ + "create --name {{.Name}} --framework standard-library --driver none --advanced --feature docker --git skip" + ], + "post": [] + } + }, + + { + "engine": "", + "section": "", + "folder": "{{.TemplateDefinition.SelfFolder}}/definitions/golang/build", + "file_name": "*", + "output_folder": "^/build", + "output_name": "*" + }, + { + "engine": "", + "section": "", + "folder": "{{.TemplateDefinition.SelfFolder}}/definitions/golang", + "file_name": "*", + "output_folder": "^/", + "output_name": "*" + }, + { + "engine": "", + "section": "", + "folder": "{{.TemplateDefinition.SelfFolder}}/definitions/golang/.well-known", + "file_name": "*", + "output_folder": "^/.well-known", + "output_name": "*" + } + ] +} \ No newline at end of file