|
5 | 5 |
|
6 | 6 | An open-source SDK and scaffold for building BIM (Building Information Modeling) applications with .NET 9. Octopus provides reusable components, a REST API server, and client libraries to accelerate the development of custom BIM solutions. |
7 | 7 |
|
8 | | -| Package | NuGet | |
9 | | -|---------|-------| |
10 | | -| Octopus.Blazor | [](https://www.nuget.org/packages/Octopus.Blazor/) | |
11 | | -| Octopus.Api.Client | [](https://www.nuget.org/packages/Octopus.Api.Client/) | |
| 8 | +| Package | GitHub Packages | |
| 9 | +|---------|-----------------| |
| 10 | +| Octopus.Blazor | [View Package](https://github.com/Ibrahim5aad/Octopus/pkgs/nuget/Octopus.Blazor) | |
| 11 | +| Octopus.Api.Client | [View Package](https://github.com/Ibrahim5aad/Octopus/pkgs/nuget/Octopus.Api.Client) | |
12 | 12 |
|
13 | 13 |  |
14 | 14 |
|
@@ -83,9 +83,15 @@ Octopus/ |
83 | 83 | For simple viewer applications without backend infrastructure: |
84 | 84 |
|
85 | 85 | ```bash |
| 86 | +# Add GitHub Packages source (one-time setup) |
| 87 | +dotnet nuget add source https://nuget.pkg.github.com/Ibrahim5aad/index.json --name github --username YOUR_GITHUB_USERNAME --password YOUR_GITHUB_PAT |
| 88 | + |
| 89 | +# Install the package |
86 | 90 | dotnet add package Octopus.Blazor |
87 | 91 | ``` |
88 | 92 |
|
| 93 | +> **Note:** The `YOUR_GITHUB_PAT` needs `read:packages` scope. [Create a PAT here](https://github.com/settings/tokens). |
| 94 | +
|
89 | 95 | Register services in `Program.cs`: |
90 | 96 |
|
91 | 97 | ```csharp |
@@ -127,6 +133,7 @@ In standalone mode, you can: |
127 | 133 | For full BIM applications with model management, storage, and collaboration: |
128 | 134 |
|
129 | 135 | ```bash |
| 136 | +# If you haven't added the GitHub Packages source yet (see Standalone Mode above) |
130 | 137 | dotnet add package Octopus.Blazor |
131 | 138 | dotnet add package Octopus.Api.Client |
132 | 139 | ``` |
|
0 commit comments