Hello
is go run main.go supposed to stop ?
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 ๐
Join the conversation
Sign up to reply, like and follow topics.
Suggested Topics
Want to read more? Browse other topics in Casdoor or view latest topics.
