Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

latteart-org/latteart-repository

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ ARCHIVED

This package has been moved into the LatteArt monorepo.

LatteArt Repository

LatteArt Repository is a service that stores test information for LatteArt.

Project Setup

  1. Install node.js v14.15.3.

  2. Install yarn corresponding to the version of node.js.

  3. Go to the root directory of the project.

  4. Execute the following command.

    yarn install

Build

  1. Go to the root directory of the project.
  2. 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
  3. Execute the following command.
    yarn package
  4. 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

Watch (for developer)

Detect the source code changes and rebuild LatteArt Repository.

  1. Go to the root directory of the project.
  2. 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
  3. Execute the following command.
    yarn watch
  4. The directory dist is created in the current directory, and dist contains built index.js. (If you update the source code, it is rebuilt automatically.)

Run

How to use

  1. Execute the latteart-repository.exe or latteart-repository.
  2. The local server will stand up and wait at http://127.0.0.1:3002.

License

This software is licensed under the Apache License, Version2.0.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages