Scan multiple GitHub Organizations for dependency versions and view this information in a human-readable format
- Clone this repo
- Start with
docker-compose up
- Hosted on
http://localhost:3000
To add an organization, press the blue +
button at the top right of the organizations page. Then put in the name of the GitHub Organization you would like to add. This is not case sensitive.
To scan the organization for dependencies, click on the organization in the table of orgs. Then click the Scan
button in the top right of this page.
Scanning may take a while depending on the number of repos and dependencies.
While this option works for making one small change, I'd recommend using the Recommended Dev Environment bellow.
Start Containers:
docker-compose up --build
- Need to use
--build
to rebuild app with changes
Run everything locally.
This is great for doing a lot of changes, because you do not have to rebuild and restart everything after every change.
-
Start development database:
cd test/db/
docker-compose up
-
In a new terminal, set local environment variables for database:
export DB_ADDRESS=localhost \ DB_USERNAME=user \ DB_PASSWORD=password123 \ DB_NAME=cbom_dashboard
-
In the same terminal as
2.
, start backend:cd server/
npm run dev
-
Change frontend proxy address:
- Open
app/package.json
- Change
"proxy": "http://backend:3080"
to"proxy": "http://localhost:3080"
- Open
-
In a new terminal, start frontend:
cd app/
npm start
-
Available on
http:/localhost:3000
Make sure to change the proxie back before pushing.
Can be changed in config or with environment variable: LOG_LEVEL
Warning: Silly mode will output everything... So say RIP to your terminal history
Tests are currently very minimal.
cd server/
npm test