From a81de2dd2c88d15f3cff496e72e73f19ab7f977d Mon Sep 17 00:00:00 2001 From: Aaron D Borden Date: Wed, 12 Apr 2017 17:11:51 -0700 Subject: [PATCH] Some hints about go development --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 9bc83491..28380d09 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,18 @@ Then edit the file `~/.env/cg-dashboard` and provide the proper values. When you - `CONSOLE_LOG_URL`: The URL of the loggregator service. i.e. `http://loggregator.domain.com` - `PPROF_ENABLED`: If set to `true` or `1`, will turn on `/debug/pprof` endpoints as seen [here](https://golang.org/pkg/net/http/pprof/) + +#### Codecheck + +To run the go tests: + + $ ./codecheck.sh + +`fmt` can be used to fix any linting errors: + + $ go fmt ./controllers + + ### Front end Front end build commands should be run in the same directory as the `package.json` file. If you've used the cloning command from this README it should be something like `/path/to/cg-dashboard-ws/src/github.com/18F/cg-dashboard`. Node version 6 and above should always be used.