Skip to content

Commit

Permalink
docs(DEVELOPMENT): update with checkhealth new command
Browse files Browse the repository at this point in the history
  • Loading branch information
Wabri committed Aug 8, 2024
1 parent ffea257 commit 89e611c
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,36 @@ make build-test-dev
This generates all the binary files necessary for daje, now you should find `daje` inside the `bin` directory. To check if everything is gone ok you can run:

```
./bin/daje checkhealt
./bin/daje checkhealth
```

You should have something like this:

```bash
----- Start CLEAN -----

# Remove all the daje metadata and builds...
rm -r <project_root>/bin &>/dev/null

----- End CLEAN -----

----- Start BUILD-TEST-DEV -----

# Building daje for development environment...
go build -ldflags "-X github.com/Schrodinger-Hat/Daje/constants.DajeConfigBaseDir=<project_root>/testdata -X
github.com/Schrodinger-Hat/Daje/constants.Version=<version>" -o ./bin/daje .

----- End BUILD-TEST-DEV -----

----- Start CHECKHEALTH -----

# run checkhealth command...
./bin/daje checkhealth
Version: <version>
Configuration path: <project_root>/testdata/daje.conf
Tuning: true

----- End CHECKHEALTH -----
```

## Version
Expand Down

0 comments on commit 89e611c

Please sign in to comment.