From 59e6b102c3041290d19e4ce2b2ec97ab066a6b8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D0=BD=D0=B8=D0=BB=20=D0=90=D1=80=D1=85=D0=B8?= =?UTF-8?q?=D0=BF=D0=BE=D0=B2?= Date: Mon, 24 Jul 2023 23:20:42 +0300 Subject: [PATCH 1/3] added template.json for dotnet new --- .template.config/template.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .template.config/template.json diff --git a/.template.config/template.json b/.template.config/template.json new file mode 100644 index 0000000..9665edd --- /dev/null +++ b/.template.config/template.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json.schemastore.org/template", + "author": "Hightech Group", + "classifications": [ + "Web" + ], + "identity": "Force", + "name": "Force", + "shortName": "Force", + "tags": { + "language": "C#", + "type": "solution" + } +} \ No newline at end of file From fec42cd20a36de3849a35b401c716619652fe45b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D0=BD=D0=B8=D0=BB=20=D0=90=D1=80=D1=85=D0=B8?= =?UTF-8?q?=D0=BF=D0=BE=D0=B2?= Date: Mon, 31 Jul 2023 20:49:29 +0300 Subject: [PATCH 2/3] Added template using instruction in readme --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 1d10a83..a710974 100644 --- a/README.md +++ b/README.md @@ -20,3 +20,14 @@ Start graylog server with command Open http://localhost:9000/, authorize and go to System/Inputs/Select input/GELF TCP and press Launch new input and set 0.0.0.0 to Bind address field and 12201 to Port field. Now graylog prepare to get logs from WebApp. + +## Use Force as a dotnet new template + +Clone this repository. Open repository directory in CMD (you should open directory with .template.config). Run command + dotnet new install . + +This command will save this template on your machine. Later you can create a new solution with this template by command + dotnet new ForceWebApp + +Be sure that your directory doesn't contain any useless directories like .git or bin/Debug etc when you run install command otherwise they will be installed as part of the template. + From e82c300d4d0a1215d3065a97f53f6c922c79bc7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D0=BD=D0=B8=D0=BB=20=D0=90=D1=80=D1=85=D0=B8?= =?UTF-8?q?=D0=BF=D0=BE=D0=B2?= Date: Mon, 31 Jul 2023 20:50:49 +0300 Subject: [PATCH 3/3] Fixed commands in readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a710974..5e86300 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,11 @@ Now graylog prepare to get logs from WebApp. ## Use Force as a dotnet new template Clone this repository. Open repository directory in CMD (you should open directory with .template.config). Run command + dotnet new install . This command will save this template on your machine. Later you can create a new solution with this template by command + dotnet new ForceWebApp Be sure that your directory doesn't contain any useless directories like .git or bin/Debug etc when you run install command otherwise they will be installed as part of the template.