This package has been moved into the LatteArt monorepo.
LatteArt Repository is a service that stores test information for LatteArt.
- 日本語版はREADME_ja.mdを参照して下さい。
-
Install
node.js v14.15.3. -
Install
yarncorresponding to the version of node.js. -
Go to the root directory of the project.
-
Execute the following command.
yarn install
- Go to the root directory of the project.
- Execute the following command to create validators.
yarn typescript-json-validator src/lib/settings/Settings.ts yarn typescript-json-validator src/lib/settings/DeviceSettings.ts
- Execute the following command.
yarn package
- The following directories and files are created in
dist/latteart-repository.dist/latteart-repository/ ├─ node_modules/ # external libraries ├─ public/ # resource directory ├─ latteart-repository.exe # for Windows ├─ latteart-repository # for Mac ├─ latteart.config.json # config file ├─ latteart.device.config.json # device config file └─ ormconfig.json # DB config file
Detect the source code changes and rebuild LatteArt Repository.
- Go to the root directory of the project.
- Execute the following command to create validators.
yarn typescript-json-validator src/lib/settings/Settings.ts yarn typescript-json-validator src/lib/settings/DeviceSettings.ts
- Execute the following command.
yarn watch
- The directory
distis created in the current directory, anddistcontains builtindex.js. (If you update the source code, it is rebuilt automatically.)
- Execute the
latteart-repository.exeorlatteart-repository. - The local server will stand up and wait at
http://127.0.0.1:3002.
This software is licensed under the Apache License, Version2.0.