Autodesk Platform Services application built by following the Simple Viewer tutorial from https://tutorials.autodesk.io.
- APS credentials
- .NET 6
- Terminal (for example, Windows Command Prompt or macOS Terminal)
- Clone this repository
- Install dependencies:
dotnet restore
- Setup environment variables:
APS_CLIENT_ID
- your APS application client IDAPS_CLIENT_SECRET
- your APS application client secretAPS_BUCKET
(optional) - name of APS bucket to store your designs in
- Run the server:
dotnet run
When using Visual Studio Code, you can specify the env. variables listed above in a .env file in this folder, and run & debug the application directly from the editor.
If you're getting invalid active developer path
errors, please follow the steps
explained in https://apple.stackexchange.com/questions/254380/why-am-i-getting-an-invalid-active-developer-path-when-attempting-to-use-git-a.
If you're seeing errors related to dev-certs
, try cleaning any existing certificates
as explained in https://docs.microsoft.com/en-us/dotnet/core/additional-tools/self-signed-certificates-guide,
and on macOS and Windows systems, do not forget to use the --trust
switch.
If you have any other question, please contact us via https://forge.autodesk.com/en/support/get-help.
This sample is licensed under the terms of the MIT License. Please see the LICENSE file for more details.