Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Build from Source

To compile and run the server on your machine, follow the below steps.

dotnet 6.0

  1. Install the latest dotnet 6.0 SDK
  2. Clone the GitHub repository locally
  3. In the local repo, find the file named configuration.example.json. Make a copy of it and name it configuration.local.json.
  4. Move configuration.local.json into the src/Console directory
  5. Open a terminal and run the below one-time setup steps:
> cd src/Console
> dotnet restore
> dotnet build

To run

> dotnet run --project ./src/Console/Console.csproj

Updating

> git fetch
> git pull
> cd `docgraf`
> dotnet restore ./src/Console/Console.csproj
> dotnet build ./src/Console/Console.csproj
> dotnet run --project ./src/Console/Console.csproj