Join the Webstudio community

Updated 3 months ago

How to deploy self-hosted `remix app` via node rather than Docker?

At a glance

The community member is wondering if they can run their Remix application by executing npx remix-serve build/server/index.js since there is no start script in the package.json file. In the comments, the community member mentions that they were able to get the application running by adding Express and other packages to the build and running a new server.js file as suggested by the Remix documentation. However, the community member is unsure if this is the recommended approach by the Webstudio team.

There's no start script included in the package.json file. So i'm wondering, is it as easy as just running something like npx remix-serve build/server/index.js? Would like to avoid using Docker for now, if possible.
P
1 comment
follow up: I read some docs on Remix and I was able to get something running by adding express and a few other packages to the build and then running a new server.js file as suggested by the docs. It's running, but -- is this what the Webstudio team recommends as well?
Add a reply
Sign up and join the conversation on Discord