UPD: Dev script & readme

This commit is contained in:
Robert Kossessa
2024-01-29 00:19:40 +01:00
parent db96f8b18a
commit dcb17c66dd
2 changed files with 7 additions and 10 deletions

View File

@@ -1,16 +1,13 @@
# zeroone
# ZERO/ONE
Haptic configuration utility
Haptic configuration tool
## Running the code
- use VSCode
- run `sudo npm -g json-server`
- run `npm install`
- in another terminal, run `json-server --watch src/data/nanoConfig.json --port 3001`
- run `npm start`
- use VSCode (or WebStorm) with the appropriate Vue plugins (Vetur, i18n Ally, ESLint, Prettier, etc.)
- run `npm i` to install dependencies
- run `npm run dev` to start the json-server and electron app
## Connecting your Nano
TODO
TODO

View File

@@ -12,7 +12,7 @@
"make": "electron-forge make",
"publish": "electron-forge publish",
"lint": "eslint . --ext .js, .vue",
"mock": "concurrently --kill-others \"json-server src/data/nanoConfig.json --port=3001\" \"electron-forge start\" "
"dev": "concurrently --kill-others \"json-server src/data/nanoConfig.json --port=3001\" \"electron-forge start\" "
},
"dependencies": {
"@radix-icons/vue": "^1.0.0",