Setup clear contract+documentation around production deployments #1005
devinrhode2
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is kind of a branching off of this thread: #989
I believe we should document and setup a clear contract for production deployments.
It seems a basic recipe could be this:
npm ci --omit=dev(or equivalent pnpm/yarn command)npm run builddistfolder into your server (docker or otherwise)node dist/server.js. Handle your ports, of course.dist/publicfrom the root of your web server (i.e. so thatfoo.com/assets/bar.jshitsdist/public/assets/bar.jsSolid also produces a
.soliddirectory when creating a build, and it's unclear what to do with that, if anything, for a production build.Search for similar issues: https://github.com/search?q=repo%3Asolidjs%2Fsolid-start+production+deployment+documentation
cc @edivados
Beta Was this translation helpful? Give feedback.
All reactions