Skip to content

Midwest-Diesel/inventory-desktop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,109 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inventory

This application is currently only compatible with windows.

Installation

Development

Getting Started

  • git clone git@github.com:Midwest-Diesel/inventory-desktop.git
  • npm install
  • Create .env.production and .env.development files
  • Create publish.sh and publish.staging.sh files
  • Run the following commands:
    • chmod +x publish.sh
    • npm run tauri dev
    • In a new terminal npm run dev:test

Publish Changes

  • 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.

Testing

Make sure you run npm run dev:test to host the test client.

  • npm run test Run all tests
  • npm run test:unit Run unit tests
  • npm run test:integration Run integration tests
  • npm run test:e2e Run E2E tests in the CLI
  • npm run test:e2e:spec Run specific E2E tests in the CLI (Ex: npm run test:e2e:spec -- handwrittens)
  • npm run test:e2e:ui Run E2E tests in the playwright UI

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors