This application is currently only compatible with windows.
- Download the latest zip file from https://github.com/Midwest-Diesel/inventory-desktop/releases
- Create a folder called MWD in the C: drive and drag the installer into there
- Launch the installer
- Set the install location C:\MWD when prompted during the installation process
git clone git@github.com:Midwest-Diesel/inventory-desktop.gitnpm install- Create .env.production and .env.development files
- Create publish.sh and publish.staging.sh files
- Run the following commands:
chmod +x publish.shnpm run tauri dev- In a new terminal
npm run dev:test
- Publish to staging:
- Change version inside of src-tauri/tauri.staging.conf.json
npm run publish:staging- Commit and push
- Publish to production:
- Change version inside of src-tauri/tauri.conf.json
npm run publish- Commit and push
Sometimes it can take around 5 min for the update to propagate if you push multiple updates in close proximity.
Make sure you run npm run dev:test to host the test client.
npm run testRun all testsnpm run test:unitRun unit testsnpm run test:integrationRun integration testsnpm run test:e2eRun E2E tests in the CLInpm run test:e2e:specRun specific E2E tests in the CLI (Ex:npm run test:e2e:spec -- handwrittens)npm run test:e2e:uiRun E2E tests in the playwright UI