Please read this guide if you plan to contribute to the DevSpace CLI. We welcome any kind of contribution. No matter if you are an experienced programmer or just starting, we are looking forward to your contribution.
If you find a bug while working with the DevSpace CLI, please open an issue on GitHub and let us know what went wrong. We will try to fix it as quickly as we can.
You are more than welcome to open issues in this project to suggest new features.
This project is mainly written in Golang. To contribute code,
- Ensure you are running golang version 1.11.4 or greater for go module support
- Set the following environment variables:
GO111MODULE=on GOFLAGS=-mod=vendor
- Fork the project
- Clone the project:
git clone https://github.com/[YOUR_USERNAME]/devspace && cd devspace
- Run
go clean -modcache
- Run
go mod vendor
to install the dependencies - Make changes to the code (add new dependencies to the Gopkg.toml)
- Build the project, e.g. via
go build -o devspace.exe
- Make changes
- Run tests:
go test ./...
- Format your code:
go fmt ./...
- Commit changes
- Push commits
- Open pull request
The documentation is contained within ./docs
and made with Docusaurus. See the Docs README for infos about developing the docs.