Casbin Forum runs on Casnode, the open-source Discourse-style forum. Try the Casnode demo →
Casbin Forum
2views
2users
1 minread

No, it is supposed to run forever, but if it encounters critical panic, it stopped

Ok i understand
i was following the tutorial and it says to run main.go then when the server is starting to run yarn install, but how can i know if the server is running if the command never stop then ?

The go code itself is the server itself, it blocks to serve

ok thanks for the quick answer

another question, the front server is running out of memory at start : how many gb of ram do i need ?

to build frontend your self (yarn build), you need 2GB memory. If you don't have 2GB memory in your server, two solutions: 1) build frontend in your local dev machine, then copy output folder: /build to your server. 2) use our Docker, which is pre-built

it is running out of memory in dev : i'm using yarn start

not yarn build

i'll try with 2gb and tell you

it's working thanks ๐Ÿ™‚

1 / 7
Jul 2023