CATProtocol / cat-token-box

A monorepo for packages implementing CAT protocol
https://catprotocol.org
MIT License
187 stars 128 forks source link

About the permission! #148

Closed yadgen closed 1 month ago

yadgen commented 2 months ago

I am operating on ubuntu22 system, why do I need to add sudo to run these two commands? yarn start:api:prod yarn start:worker:prod

easyranger commented 2 months ago

When the worker:prod sync the data,the api:prod can help you to see the sync progress on the web browser

yadgen commented 2 months ago

When the worker:prod sync the data,the api:prod can help you to see the sync progress on the web browser

I still can't understand why I need root privileges, since all my other services are started as normal users.

easyranger commented 2 months ago

If you are sure there are no problems, you can certainly run the programs as normal user rather than root....