Jerry 0.1.3
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global Jerry --version 0.1.3
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Jerry --version 0.1.3
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Jerry&version=0.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Jerry --version 0.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Jerry
Jerry, a static web server based on ASP.NET Core
Install
You can choose either method to install Jerry
.NET Tool
Requires .NET 8.0 SDK
dotnet tool install -g Jerry
Docker
docker pull ediwang/jerry
Usage
As .NET Tool
Usage:
Jerry [options]
Options:
-d, --directory <directory> Web content directory. [default: .]
-p, --port <port> HTTP server port. [default: 8080]
--directory-browser Directory browser [default: False]
-v, --verbose Verbose log [default: False]
--version Show version information
-?, -h, --help Show help and usage information
Example
jerry -d "E:\Workspace\wwwtest" --directory-browser
This will serve the content of E:\Workspace\wwwtest
on port 8080, and enable directory browser.
As Docker Container
docker run -p 8080:8080 -v /some/wonderful/wwwtest:/wwwtest ediwang/jerry -d /wwwtest
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.