Updated docs
This commit is contained in:
parent
3d96389f7f
commit
9c3e2a25c0
@ -2,5 +2,5 @@
|
||||
|
||||
```shell
|
||||
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
|
||||
```
|
3
MycroForge.Package.PluginTemplate/.gitignore
vendored
3
MycroForge.Package.PluginTemplate/.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
bin/
|
||||
obj/
|
||||
templates/
|
||||
!templates/.gitkeep
|
||||
!templates/.gitkeep
|
||||
MycroForge.Package.PluginTemplate.sln
|
||||
|
@ -9,7 +9,7 @@
|
||||
<Authors>Donné Napo</Authors>
|
||||
<Description>Template to use when creating a plugin for the MycroForge CLI.</Description>
|
||||
<PackageTags>dotnet-new;templates;</PackageTags>
|
||||
<PackageProjectUrl>https://github.com/mdnapo/myrcoforge</PackageProjectUrl>
|
||||
<PackageProjectUrl>https://git.devdisciples.com/devdisciples/mycroforge</PackageProjectUrl>
|
||||
|
||||
<PackageType>Template</PackageType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
|
@ -9,7 +9,7 @@ https://learn.microsoft.com/en-us/dotnet/core/tutorials/cli-templates-create-tem
|
||||
`dotnet pack`
|
||||
|
||||
### 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
|
||||
`dotnet new install MycroForge.Package.PluginTemplate --nuget-source http://localhost:5555/v3/index.json --force`
|
||||
`dotnet new install MycroForge.Package.PluginTemplate --nuget-source gitea`
|
||||
|
@ -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.
|
||||
|
||||
`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
|
||||
```
|
@ -4,10 +4,8 @@ services:
|
||||
nuget:
|
||||
image: bagetter/bagetter:latest
|
||||
container_name: nuget
|
||||
volumes:
|
||||
- 'nuget_data:/var/baget'
|
||||
ports:
|
||||
- '5555:8080'
|
||||
|
||||
volumes:
|
||||
nuget_data:
|
||||
nuget_data:
|
||||
|
Loading…
Reference in New Issue
Block a user