What is correct way to run app in production? #94
-
I have an App made with sidebase template. I upload it on DigitalOcean App platform. So my question is "Are I do everything correctly or do I miss something in the template?" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @TheWotan 👋 Thanks for the question and thanks for using sidebase 🎊 🎊 Yes, you are doing everything correctly (: Alternatively, you could also do it in one step by adding I think this is something we could add to the Merino template (it's already there in the cheviot one). So I opened an issue for this: #98 It's an easy one, so you could even tackle it yourself if you wanted to! (: Please mark this as resolved, if your question was answered 🎊 |
Beta Was this translation helpful? Give feedback.
Hey @TheWotan 👋
Thanks for the question and thanks for using sidebase 🎊 🎊
Yes, you are doing everything correctly (: Alternatively, you could also do it in one step by adding
NODE_ENV=production node .output/server/index.mjs
into therun command
field 🪨I think this is something we could add to the Merino template (it's already there in the cheviot one). So I opened an issue for this: #98 It's an easy one, so you could even tackle it yourself if you wanted to! (:
Please mark this as resolved, if your question was answered 🎊