Add README

This commit is contained in:
code liturgy 2022-11-07 08:47:36 -05:00
parent 63976544e5
commit af86592490
2 changed files with 21 additions and 18 deletions

View File

@ -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"]

21
Sharp.Augeas/README.md Normal file
View File

@ -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`