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 ## Running the code
- use VSCode - use VSCode (or WebStorm) with the appropriate Vue plugins (Vetur, i18n Ally, ESLint, Prettier, etc.)
- run `sudo npm -g json-server` - run `npm i` to install dependencies
- run `npm install` - run `npm run dev` to start the json-server and electron app
- in another terminal, run `json-server --watch src/data/nanoConfig.json --port 3001`
- run `npm start`
## Connecting your Nano ## Connecting your Nano
TODO TODO

View File

@@ -12,7 +12,7 @@
"make": "electron-forge make", "make": "electron-forge make",
"publish": "electron-forge publish", "publish": "electron-forge publish",
"lint": "eslint . --ext .js, .vue", "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": { "dependencies": {
"@radix-icons/vue": "^1.0.0", "@radix-icons/vue": "^1.0.0",