-
Notifications
You must be signed in to change notification settings - Fork 6
Development
Patrik Svensson edited this page Mar 14, 2020
·
5 revisions
Create a config.json file in the repository root with the following content:
{
"$schema": "./schemas/v0.7.json",
"title": "Cake Dashboard",
"interval": 30,
"views": [
{
"id": "centos",
"name": "CentOS",
"collectors": [ "azure" ]
},
{
"id": "fedora",
"name": "Fedora",
"collectors": [ "azure_2" ]
}
],
"collectors": [
{
"azure": {
"id": "azure",
"organization": "cake-build",
"project": "cake",
"definitions": [ "5" ],
"branches": [ "refs/heads/main", "refs/heads/develop" ],
"credentials": "anonymous"
}
},
{
"azure": {
"id": "azure_2",
"organization": "cake-build",
"project": "cake",
"definitions": [ "6" ],
"branches": [ "refs/heads/main", "refs/heads/develop" ],
"credentials": "anonymous"
}
}
]
}
Start by going into the web
directory. Install all dependencies and then run the site.
> cd web
> npm install
> npm run serve
Build and run the duck server by running the following command:
> cargo run -- --level debug
You should now be able to load the Duck UI by visiting: