Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Cerberus Management Dashboard

This project is a self-service web UI for administration of [Safe Deposit Boxes (SDBs)], access control, and data in Cerberus. It is implemented as a React single-page application (SPA).

To learn more about the dashboard and view screenshots, please see the documentation.

To learn more about Cerberus, please visit the Cerberus website.

Development

This project has a couple scripts that are integrated into NPM tasks that enable running the Cerberus stack that resides behind the router locally. The npm run dev* tasks will start the local webpack server and configure a reverse proxy to point to CMS. The Reverse proxy will point at a local Cerberus Management Service (CMS).

Instructions assume development machine is MacOS with brew installed.

Steps to run Dashboard locally with CMS

  1. Follow the instructions in the CMS project
  2. Optional but recommended install multitail with brew install multitail
    1. Optionally tail the logs, e.g. multitail logs/*
  3. Open the Dashboard in a browser, e.g. open http://localhost:9001/dashboard/
  4. Login with actual credentials based on the configured AuthProvider for CMS
  5. Start development
    1. Note: Hot Module reloading is on so changes to code will auto refresh the app
  6. Optionally connect a remote debugger from CMS project using default settings in IntelliJ -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005

Troubleshooting

  • Delete CMS database if secrets data is out of sync