Tools and dependencies:
Don't forget to add $GOPATH/bin to your $PATH
npm install
govendor sync
docker run --name mongo -p 27017:27017 -v /data/mongo:/data/db -d mongo
DAD requires a LDAP configuration. You can write a ~/.dad.toml file with the following settings:
[server]
mongo-addr = "localhost:27017"
[auth]
jwt-secret = "enter a unique pepper here"
[ldap]
address = ""
baseDN = ""
bindDN = ""
bindPassword = ""
searchFilter = ""
[ldap.attr]
username = ""
firstname = ""
lastname = ""
realname = ""
email = ""
[docktor]
addr = "http://<DocktorUrl>/#!/"
user = "<DocktorUsername>"
password = "<DocktorPassword>"
[tasks]
recurrence = "@every 20m"
recurrence.update.progress = false
You can see all the available settings with:
go run main.go serve --help
Note: DAD allows three methods for the configuration:
server.mongo.addr becomes DAD_SERVER_MONGO_ADDR)--server.mongo.addr)Run DAD in dev mode, with live reload, with the command:
npm start
You can then browse http://localhost:8080/
You can use the shell scripts in bin/. The scripts use CSV files. The format of these files is described in the shell scripts.
You can generate the binaries with:
npm run dist
The relevant files are in the dist folder.
In order to run the routine to analyses which functional services of projects are deployed or not, you can POST a request to the endpoint API /api/admin/jobs/deployment-indicators with an admin account.
Every project with Docktor URL will be updated with data from Docktor.
This kind of routine is also executed at regular time (default to 23:00 everyday, can be overridden with --tasks-recurrence option)
See the LICENSE file.
Content type
Image
Digest
Size
84.5 MB
Last updated
about 8 years ago
docker pull soprasteria/dad:1.4.0