Add isTest to settings and ability to redirect to test env. Add rome/imex specific builds.

This commit is contained in:
Patrick Fic
2025-04-02 15:23:34 -07:00
parent 15f8733280
commit da43ade088
15 changed files with 170 additions and 58 deletions

View File

@@ -1,34 +1,18 @@
# bodyshop-desktop
# Shop Partner
An electron app that is replacing the existing Bodyshop Partner that was a C#/WPF Application.
An Electron application with React and TypeScript
The purpose of this application is to:
* Parse EMS files, and upload them to the IO back end.
* Receive requests for EMS file parsing
The following functionality will be coming:
* Interact with QuickBooks desktop (Windows Only)
* Paint scale integrations
* Parts Price Changes for CCC
## Recommended IDE Setup
Toggling between the Production and Test servers can be done by pressing `CTRL/CMD + SHIFT + T`, and then going to the application menu, and enabling test. The application will restart automatically.
- [VSCode](https://code.visualstudio.com/) + [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) + [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
## Dev and Build Notes
Unlike the main app, the dev mode will only connect to ImEX Online test data.
## Project Setup
### Install
```bash
$ npm install
```
### Development
```bash
$ npm run dev
```
### Build
```bash
# For windows
$ npm run build:win
# For macOS
$ npm run build:mac
# For Linux
$ npm run build:linux
```
Building the app will require specifying the company to build for. Those details are captured in their respective ENV and YAML files.