github.com/localhostbase/localhostdev@v1.4.1/docs/developers/building-contributing.md (about) 1 <h1>Building, Testing, and Contributing</h1> 2 3 ## Building 4 5 As with all golang projects, you need to have your $GOPATH set up and ddev code must in the $GOPATH. This is an inflexibility of golang. We recommend that you set `GOPATH=~/go` and clone ddev into `~/go/src/github.com/drud/ddev`. 6 7 ``` 8 make 9 make linux 10 make darwin 11 make windows 12 make test 13 make clean 14 ``` 15 16 Note that although this git repository contains submodules (in the containers/ directory) they are not used in a normal build, but rather by the nightly build. You can safely ignore the git submodules and the containers/ directory. 17 18 19 ## Testing 20 Normal test invocation is just `make test`. Run a single test with an invocation like `go test -v -run TestDevAddSites ./pkg/...` 21 22 To see which ddev commands the tests are executing, set the environment variable DRUD_DEBUG=true. 23 24 ## Docker container development 25 26 The four docker containers that ddev users are included in the containers/ directory: 27 28 * containers/ddev-webserver: Provides the web servers (the "web" container). 29 * containers/ddev-dbserver: Provides the "db" container. 30 * containers/phpmyadmin: Provides the phpmyadmin container 31 * containers/ddev-router: The router image 32 33 ## Contributing 34 Interested in contributing to ddev? We would love your suggestions, contributions, and help! Please review our [Guidelines for Contributing](https://github.com/drud/ddev/blob/master/CONTRIBUTING.md), then [create an issue](https://github.com/drud/ddev/issues/new) or open a pull request!