Expanding blueprint
parent
79b5a6e662
commit
ada1b58f32
|
|
@ -1,11 +1,23 @@
|
||||||
# Project
|
# Project {{.Name}}
|
||||||
|
|
||||||
One Paragraph of project description goes here
|
One Paragraph of {{.Name}} project description goes here
|
||||||
|
|
||||||
## Getting Started
|
## 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.
|
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
|
## MakeFile
|
||||||
|
|
||||||
Build the application
|
Build the application
|
||||||
|
|
|
||||||
|
|
@ -13,11 +13,10 @@
|
||||||
"output_folder": "^/",
|
"output_folder": "^/",
|
||||||
"output_name": "*",
|
"output_name": "*",
|
||||||
"model": {
|
"model": {
|
||||||
"activity": "INSTALL",
|
|
||||||
"id": "goblueprint",
|
"id": "goblueprint",
|
||||||
"script": "go-blueprint",
|
"script": "go-blueprint",
|
||||||
"pre":[
|
"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": []
|
"post": []
|
||||||
}
|
}
|
||||||
|
|
@ -29,14 +28,7 @@
|
||||||
"folder": "{{.TemplateDefinition.SelfFolder}}/definitions/golang/build",
|
"folder": "{{.TemplateDefinition.SelfFolder}}/definitions/golang/build",
|
||||||
"file_name": "*",
|
"file_name": "*",
|
||||||
"output_folder": "^/build",
|
"output_folder": "^/build",
|
||||||
"output_name": "*",
|
"output_name": "*"
|
||||||
"model": {
|
|
||||||
"activity": "",
|
|
||||||
"id": "",
|
|
||||||
"script": "",
|
|
||||||
"pre":[],
|
|
||||||
"post": []
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"engine": "",
|
"engine": "",
|
||||||
|
|
|
||||||
|
|
@ -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": "*"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -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": "*"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue