This Drafting Template Uploader is an Electron-based app that reads a csv
file generated by the DraftingTemplate and uses its contents to create issues in the appropriate Github repo.
- make sure you have
node v 18+
installed - make sure you have
yarn
installed:npm install --global yarn
- clone repo then
yarn install
- when finished run
npm run make
and find an executable/binary in theout
folder.- on Mac the path is:
src/out/make/zip/darwin/x64/drafting-template-uploader-darwin-x64-1.0.0.zip
(unzip the folder and the application is of type Application) - on Windows the path is:
src/out/make/squirrel.windows/x64/drafting-template-uploader-1.0.0 Setup.exe
- on Mac the path is:
- an executable must be generated for each OS/Arch combo. Currently this is: Intel-Mac, Arm-Mac, Windows-x86.
src/upload
- contains code related to parsingcsv
and making GH requests. Runs on back-endsrc/index
- sets up the app in the backend / listens for events from frontendsrc/preload
- listens for events from backend / sets up frontend apisrc/renderer
- sets up listenerssrc/handleToken
- encrypt GH tokensrc/index.html
- the markup for the appsrc/index.css
- the styling for the apptypes.d.ts
- the type definitions for functions added to the window object