Deploy Strapi Development mode
Deployed Strapi in Production Environment but I am not able to figure out how to do so in Development Enviroment. Please help.
30 Replies
Please provide your project ID or reply with
N/A
. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.you run strapi in development mode locally
ok but how can get the local one to be deployed on Railway.app?
4b76388a-3a11-4a26-aae5-1a4efb7a154d
Is this my project ID? It says Service ID though
well after you are done doing whatever with strapi locally, you push your changes to your github repo, and then railway will build and run it in production mode
Okay...
Thank you
I will try that, thank you.
no problemo
Actually, I tried but failed. I will try again.
what errors did it fail with
I am trying again, I didn't note it down
your database.js file may be incorrect, you can reference this database.js from the railway provided strapi template
https://github.com/railwayapp-templates/strapi/blob/main/config/database.js
Please help
Can I remove the mysql objects from there? I don't know how they are there.
sure, use the link i sent as a reference
Thank you
It is coming from Strapi default installation
If I remove that code and use the given code then it is not working
how about start with the railway strapi template
I can do that, please suggest me how to proceed
How can I get the deployed one on local machine?
you clone the repo to your computer
https://railway.app/template/strapi
but first deploy it from the template
Thank you, I am trying
It is deployed successfully
awsome
I have cloned the repo as well
but it is not running locally
you need to install the dependencies
you would also need to use the railway cli
railway run npm run develop
awesome! it is working now
Thank you!!!
no problem!
Would you please suggest me the best way to deploy Remix?
I have deployed Strapi CMS successfully with your help and enjoying it, thank you so much.
I am learning Remix now and want to use Railway as the server and at the moment I don't know the best approach. When installing Remix it asks to select the server and I want to use Railway.app there and I don't see any option for that. Please help.
railway is not geared towards frontend hosting, so while you could still host remix on railway, it would be a better idea to host it on one of the options that it gave you
but if you insist, you can just the remix template from railway
Thank you.