Replies: 6 comments
-
An extra thing to mention is that I'm not using 'Prisma', I'm just trying to purely display the page. |
Beta Was this translation helpful? Give feedback.
-
Hello, This is gonna be tough to debug, in a monorepo with I remember that it was hard to debug when I was creating the Dockerfile but that config is working right now, and I would suggest you fall back to Docker if you can't make it work with pm2. |
Beta Was this translation helpful? Give feedback.
-
I run the build command inside an apps folder. Each app folder has its own git repro with dokku paas as remote setup. I then git push dokku master and it automatically deploys my app with a dockfile for each app folder in its root. I also extended the packages to be placed in subfolders so /packages/core/auth packages/core/mailer and packages/marketing ( for landing page and blog code components etc) I also have a seperate git setup in the root of the mono repro to just commit code turbo repro wide. In my case i think this is the ideal setup not sure if there are any chaveats but this seems "best practice" to me. Could work for you too. Any thoughts on my way of deploying this way? |
Beta Was this translation helpful? Give feedback.
-
Thanks! |
Beta Was this translation helpful? Give feedback.
-
Can you share an example of your configuration? |
Beta Was this translation helpful? Give feedback.
-
Follow the dokku deploy instructions on there website its easy |
Beta Was this translation helpful? Give feedback.
-
Hi, PhilDL.
I use this command
pnpm run build --filter=remix-app...
Successfully generated two directories, in remix-app,
One is located in remix-app/build
The other is located in remix-app/public/build.
I bought a vps server of vultr, and installed centos 8 system, and then installed npm, and pm2 tools.
I created a test-web directory under the root directory, and uploaded the index.js under the remix-app/build directory to test-web, and then used pm2 start index.js. Then I tried to access it through the ip address, but I couldn't access it successfully. Is my deployment process correct?
Beta Was this translation helpful? Give feedback.
All reactions