-
Install dependencies first with
npm install
-
Add a new file by putting it under
src/components/*.vue
-
You can insert your JavaScript utility functions under
src/util
-
From the root directory, try running
npm run build
to build the report, ornpm run serve
-
Test by running
npm test
-
If you want to add your own tests, just add it to src/test/*-test.js
python3 -m venv ./venv && source venv/bin/activate
pip3 install -r requirements.txt
python3 main.py
-
That will generate a report that leverages
template.html
as the Jinja2 template, and injects the contents ofdist/app.bundle.js
, anddist/js/chunk-vendors.a60eac2b.js
as variables in that template. -
The example report is in
index.html
- Principals component
- Roles - DONE
- Groups - DONE
- Users - DONE
- DataTables
- Markdown guidance - DONE
- Navbar - DONE
- Checkbox selection of risk types
- Right now, the
App.vue
is configured to just include thesrc/sampleData.js
, all the time. We don't want this. We want to be able to load the IAM data results in via Jinja after the fact. Need to figure out the best way to do this.
- Fix vendor bundle naming
- The vendor JS bundle is currently leveraging a randomly generated name each time. I think this has to do with my webpack config. Need to fix that - we don't want it to be called
chunk-vendors.a60eac2b.js
.
- The vendor JS bundle is currently leveraging a randomly generated name each time. I think this has to do with my webpack config. Need to fix that - we don't want it to be called
- Need to figure out GitHub actions for running the unit tests
- Need to figure out GitHub actions for verifying that the report is okay on a PR