Skip to content

l3D2/Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 

Repository files navigation

Install Guide

‼️ $\color{red}\textsf{\Large\kern{0.2cm}\ Important this project must have MQTT broker}$

  1. Install/Download NodeJS or Bun

  2. Dowload this project or Clone this project

  3. Install requirement

    • API
      • Go to directory
        cd ../Project/Service/api
      • Install requirement:
        Bun
        bun install
        NodeJS
        npm i
        or
        npm install
    • Line
      • Go to directory
      cd ../Project/Service/line
      • Install requirement:
        Bun
        bun install
        NodeJS
        npm i
        or
        npm install
    • MQTT
      • Go to directory
      cd ../Project/Service/mqtt
      • Install requirement:
        Bun
        bun install
        NodeJS
        npm i
        or
        npm install
    • status
      • Go to directory
      cd ../Project/Service/status
      • Install requirement:
        Bun
        bun install
        NodeJS
        npm i
        or
        npm install
    • Web
      • Go to directory
      cd ../Project/Web
      • Install requirement:
        Bun
        bun install
        NodeJS
        npm i
        or
        npm install
  4. Run service

    • API service 1-4

      ‼️ $\color{red}\textsf{\Large\kern{0.2cm}\ Terminal must point API directory}$

      • service 1
        Bun
        bun run api1
        NodeJS
        npm run api1
      • service 2
        Bun
        bun run api2
        NodeJS
        npm run api2
      • service 3
        Bun
        bun run api3
        NodeJS
        npm run api3
      • service 4 (Hardware Only)
        Bun
        bun run api4
        NodeJS
        npm run api4
    • Line service

      ‼️ $\color{red}\textsf{\Large\kern{0.2cm}\ Terminal must point line directory}$

      Bun

      bun run dev

      NodeJS

      npm run dev
    • MQTT service

      ‼️ $\color{red}\textsf{\Large\kern{0.2cm}\ Terminal must point mqtt directory}$

      Bun

      bun run dev

      NodeJS

      npm run dev
    • Status service

      ‼️ $\color{red}\textsf{\Large\kern{0.2cm}\ Terminal must point status directory}$

      Bun

      bun run run

      NodeJS

      npm run run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors