Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 1.71 KB

File metadata and controls

59 lines (36 loc) · 1.71 KB

Falco Template

NuGet Version

Installation

The easiest way to install the Falco template is by running the following command in your terminal:

> dotnet new install "Falco.Template::*"

This will pull and install the latest Falco.Template NuGet package into your .NET environment and make it available to subsequent dotnet new commands.

Updating the template

Whenever there is a new version of the Falco template you can update it by re-running the instructions from the installation.

You can also explicitly set the version when installing the template:

> dotnet new install "Falco.Template::5.0.3"

Getting Started

After the template has been installed you can create a new Falco web application by simply running dotnet new falco in your terminal:

> dotnet new falco -o /path/to/app/MyFalcoAp
> dotnet run --project /path/to/app/MyFalcoApp

This will generate a basic ASP.NET web application with Falco installed and activate, demonstrating some basic routing and output techniques.

Running the template locally

To experiment with the template locally, from source:

> cd src/Templates
> dotnet pack --configuration Release
> dotnet new install /bin/Release/Falco.Template.5.0.3.nupkg

To uninstall the local version:

> dotnet new uninstall Falco.Templates

Find a bug?

There's an issue for that.

License

Licensed under Apache License 2.0.