Skip to content

KN-NaMi/GUI-SMU

Repository files navigation

GUI - SMU: KEITHLEY 2401

An interface for operating, reading, and recording measurements from the SMU unit.

taskbar-alpha1 1

Development Tools / Technologies

Tools required for frontend development:

  • For ease of use, it's recommended to use Git Bash instead of PowerShell
  • NodeJS
  • TypeScript
  • electron-builder
npm i --save-dev electron-builder

Technologies:

  • Electron
  • Vite
  • React

Working on the Application

Backend - first-time setup (one-time configuration)
Before running the application in developer mode, configure the backend:

cd backend
python -m venv .venv

Activate the virtual environment:

  • For Windows
.venv\Scripts\activate
  • Linux / macOS
source .venv/bin/activate

Install Python dependencies:

pip install -r requirements.txt

Creating the virtual environment and installing dependencies is done only once. For future runs, just activate the environment again.

  1. Build
npm run build
  1. Running the application in developer mode (A Vite local server is configured, so changes made to the project are immediately visible in developer mode without the need for refreshing)
npm run dev
  1. Building the final application (On Windows, you may need to open Git Bash or, if using a console within an editor such as VS Code, run the editor in administrator mode)
  • For Windows
npm run dist:win
  • For Mac
npm run dist:mac
  • For Linux
npm run dist:linux

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •