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 diff --git a/README.md b/README.md index 1d10a83..5e86300 100644 --- a/README.md +++ b/README.md @@ -20,3 +20,16 @@ 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. +