Add README
This commit is contained in:
parent
63976544e5
commit
af86592490
|
@ -1,18 +0,0 @@
|
|||
FROM mcr.microsoft.com/dotnet/runtime:6.0 AS base
|
||||
WORKDIR /app
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
|
||||
WORKDIR /src
|
||||
COPY ["TestConsummingAug/TestConsummingAug.csproj", "TestConsummingAug/"]
|
||||
RUN dotnet restore "TestConsummingAug/TestConsummingAug.csproj"
|
||||
COPY . .
|
||||
WORKDIR "/src/TestConsummingAug"
|
||||
RUN dotnet build "TestConsummingAug.csproj" -c Release -o /app/build
|
||||
|
||||
FROM build AS publish
|
||||
RUN dotnet publish "TestConsummingAug.csproj" -c Release -o /app/publish
|
||||
|
||||
FROM base AS final
|
||||
WORKDIR /app
|
||||
COPY --from=publish /app/publish .
|
||||
ENTRYPOINT ["dotnet", "TestConsummingAug.dll"]
|
|
@ -0,0 +1,21 @@
|
|||
# Sharp.Augeas
|
||||
|
||||
|
||||
Sharp.Augeas implements an abstraction to be able to use augeas with C# / .NET. it provides a managed class that takes into account the life cycle of the application.
|
||||
|
||||
Note: Currently the focus is abstractions with a focus on handling Apache configurations. In the future these abstractions may be associated with various other configurations.
|
||||
|
||||
## Instructions
|
||||
|
||||
### Ccopy Native wrapper library
|
||||
|
||||
`cd Sharp.Augeas && ./copyLibrary.sh`
|
||||
|
||||
### Augeas
|
||||
|
||||
Augeas must be installed on the system, and the environment variable "AUG_LENS_PATH" must be populated, otherwise an exception will be thrown.
|
||||
|
||||
* Mac Os os example, after installing using brew:
|
||||
`export AUG_LENS_PATH=/opt/homebrew/share/augeas/lenses/dist`
|
||||
|
||||
* Debian / Ubuntu (Using package manager): `export AUG_LENS_PATH=/opt/homebrew/share/augeas/lenses/dist`
|
Loading…
Reference in New Issue