Skip to content

Commit

Permalink
docs: adiciona instruções no readme
Browse files Browse the repository at this point in the history
  • Loading branch information
larissaperinoto committed Jul 9, 2024
1 parent a4895dd commit 00ac9cf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,17 @@ Inicie o simulador de balança

npm run start:scale

Inicie o servidor
Dentro de **/server** se encontra o arquivo **.env-example** com a configuração abaixo.

SOCKET_PORT=3001
DETECTION_INTERVAL=4000
PER_KG_BUFFET_PRICE=59.90
OPEN_BUFFET_PRICE=29.90
SCALE_1_PATH=/dev/ttyScale

Renomeie o arquivo para **.env**. Caso seja necessário, ajuste os valores do buffet por kg (PER_KG_BUFFET_PRICE) e buffet livre (OPEN_BUFFET_PRICE).

Na raiz do projeto, inicie o servidor com o comando abaixo

npm run start:server

Expand Down
File renamed without changes.

0 comments on commit 00ac9cf

Please sign in to comment.