Updated docs

This commit is contained in:
mdnapo 2024-07-07 21:24:56 +02:00
parent 3d96389f7f
commit 9c3e2a25c0
6 changed files with 13 additions and 8 deletions

View File

@ -2,5 +2,5 @@
```shell ```shell
dotnet build -r Release dotnet build -r Release
dotnet nuget push ./bin/Release/MycroForge.Core.1.0.0.nupkg --source http://localhost:5555/v3/index.json --api-key password dotnet nuget push --source gitea bin/Release/MycroForge.Core.1.0.0.nupkg
``` ```

View File

@ -2,3 +2,4 @@
obj/ obj/
templates/ templates/
!templates/.gitkeep !templates/.gitkeep
MycroForge.Package.PluginTemplate.sln

View File

@ -9,7 +9,7 @@
<Authors>Donné Napo</Authors> <Authors>Donné Napo</Authors>
<Description>Template to use when creating a plugin for the MycroForge CLI.</Description> <Description>Template to use when creating a plugin for the MycroForge CLI.</Description>
<PackageTags>dotnet-new;templates;</PackageTags> <PackageTags>dotnet-new;templates;</PackageTags>
<PackageProjectUrl>https://github.com/mdnapo/myrcoforge</PackageProjectUrl> <PackageProjectUrl>https://git.devdisciples.com/devdisciples/mycroforge</PackageProjectUrl>
<PackageType>Template</PackageType> <PackageType>Template</PackageType>
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>

View File

@ -9,7 +9,7 @@ https://learn.microsoft.com/en-us/dotnet/core/tutorials/cli-templates-create-tem
`dotnet pack` `dotnet pack`
### Push to local nuget ### Push to local nuget
`dotnet nuget push ./bin/Release/MycroForge.Package.PluginTemplate.1.0.0.nupkg --source http://localhost:5555/v3/index.json --api-key password` `dotnet nuget push bin/Release/MycroForge.Package.PluginTemplate.1.0.0.nupkg --source gitea`
### Install template package from local nuget ### Install template package from local nuget
`dotnet new install MycroForge.Package.PluginTemplate --nuget-source http://localhost:5555/v3/index.json --force` `dotnet new install MycroForge.Package.PluginTemplate --nuget-source gitea`

View File

@ -21,3 +21,9 @@ The MycroForge CLI assumes a linux compatible environment, so on Windows you'll
Run the install script in the same directory as the downloaded zip. See the example below for linux-x64. Run the install script in the same directory as the downloaded zip. See the example below for linux-x64.
`sudo ./install.sh m4g-<platform>.zip <platform>` `sudo ./install.sh m4g-<platform>.zip <platform>`
### Add DevDisciples NuGet source
```bash
dotnet nuget add source --name gitea --username username --password password https://git.devdisciples.com/api/packages/devdisciples/nuget/index.json --store-password-in-clear-text
```

View File

@ -4,8 +4,6 @@ services:
nuget: nuget:
image: bagetter/bagetter:latest image: bagetter/bagetter:latest
container_name: nuget container_name: nuget
volumes:
- 'nuget_data:/var/baget'
ports: ports:
- '5555:8080' - '5555:8080'