github.com/esnet/gdg@v0.6.1-0.20240412190737-6b6eba9c14d8/website/content/docs/developer/developer.md (about)

     1  ---
     2  title: "Developer Guide"
     3  weight: 1
     4  ---
     5  
     6  ## Dependencies
     7  
     8  Development requirements.
     9    - As gdg is written in [go](https://go.dev/), a current compiler is required.
    10    - task management tool [go-task](https://github.com/go-task/task). [Installation](https://taskfile.dev/installation/)
    11    - [Docker](https://www.docker.com/products/docker-desktop/) for running tests
    12  
    13  Install the remaining dependencies via: `task install_tools`
    14  
    15  ## Building/Running gdg
    16  
    17  Running it then should be as simple as:
    18  
    19  ```bash
    20  $ task build_all
    21  $ ./bin/gdg  ## main binary
    22  $ ./bin/gdg-generate  ## Dashboard Templating engine
    23  ```
    24  
    25  Requires [task](https://github.com/go-task/task.git) to be installed locally
    26  
    27  ## Running Tests
    28  
    29  BasicAuth:
    30     `task test`
    31  Token:
    32    `task test_tokens`
    33  
    34  ## Making a release
    35  
    36  You can validate that goreleaser work appropriately via
    37  
    38  `task release-snapshot` or `task release`
    39  
    40  The actual release will be done once a tag has been created via the CICD pipeline, artifacts will be generated and a website update will be published.