Skip to content

jonathanmajh/iko_mro_items

Repository files navigation

EAM Spare Parts

GUI tool for validating item descriptions

Based on the minimal Electron application based on the Quick Start Guide within the Electron documentation.

To Use

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
git clone https://github.com/jonathanmajh/iko_mro_items.git
# Go into the repository
cd iko_mro_items
# Install dependencies
npm install
# Run the app
npm start
npm run make

Note: Better-sqlite3 does not include prebuilt binaries for windows, this will have to be complied see Better-Sqlite and Working with Electron

Using

node v18.16.0
electron v21.4.3
better-sqlite3 v8.2.0
electron-squirrel-startup v1.0.0
xlsx v0.16.9

Auto updating using Nuts https://github.com/GitbookIO/nuts releases are created using tags npm version major/minor/patch

git push --follow-tags

To edit

Editing CSS:

When linking css to an html file, use style.css as the only stylesheet. If you make another stylesheet, import it into style.css.

Live editing:

Use npm start to open the application (make sure you've installed all dependencies using npm install at least once). Once you make any changes, hit ctrl+r in the app to refresh the page. To restart the app, enter rs in the terminal. Opening the html file in a browser directly will prevent the JS from loading.

App Icon Repair icons created by Ayub Irawan - Flaticon

https://firebase.google.com/docs/app-check/web/recaptcha-provider#web-modular-api