About • Release Status • Contributing • Licensing
This repository hosts source code for the reference implementation of the GovStack Consent Building Block Administrative Dashboard.
Released. Refer to the wiki page for the latest status of the deliverables.
docker run -p 3000:80 igrantio/bb-consent-admin-dashboard:<tag>
Example: To run 2023.11.5 execute the following command in the terminal
docker run -p 3000:80 igrantio/bb-consent-admin-dashboard:2023.11.5
In case you wish to override the base URL for consent-bb API server to connect to from the admin dashboard, use the following command:
docker run -v ./config.json:/usr/share/nginx/html/config/config.json -p 3000:80 igrantio/bb-consent-admin-dashboard:2023.11.5
A sample config
{
"baseUrl": "https://staging-consent-bb-api.igrant.io/v2",
"appVersion": "2023.11.4",
"clientId": "igrant-ios-app"
}
The admin dashboard can be run at http://localhost:3000/#/login.
Follow the steps below to get the admin dashboard up and running locally.
- Clone this repository to your local server using
git clone
. - Check out the latest release or any available release you wish to run.
- Modify the
public/config/config.json
file attributebaseUrl
in the root folder to point to the Consent BB API server instance. - Execute
make setup
. This establishes the necessary dependencies and configurations for running the admin dashboard instance. - Execute
make build
. The compiles and assembles source code into executable files or libraries, following the instructions specified in the Makefile of the admin dashboard instance. - Execute
make run
. This executes a predefined set of instructions in the Makefile to launch or run the compiled admin dashboard server instance.
The consent BB admin dashboard can now be accessed at https://dashboard.bb-consent.dev If you have security issues with your browser, you must establish a self-signed certificate.
Feel free to improve the plugin and send us a pull request. If you find any problems, please create an issue in this repo.
Copyright (c) 2023-25 LCubed AB (iGrant.io), Sweden
Licensed under the Apache 2.0 License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the LICENSE for the specific language governing permissions and limitations under the License.