Strapi production environment

Hi guys, I'm using railway to deploy Strapi, I used the 1-click template provided on Railway. I want to be sure I'm doing things correctly and I find it quite confusing to understand whether I'm using development or production mode. So I run "railway run yarn run develop" locally, then access Strapi through the tcp proxy at http://127.0.0.1:1337/admin. That's where I'm supposed to do all my changes, and it's in development mode. Then I have to push my changes with the github repo, to the main branch, and railway takes care of updating the production mode. Is that right? I see a branch "dependabot/npm_and_yarn/strapi-xxx" that gets updated automatically when I push to main. But then why do I only see a development config in /config in my repo? There is no /config/env/production, only /config/env/development. Could someone enlighten me, and is there a place where al this dev/prod micmac and setup is explained clearly? Thanks a lot!
2 Replies
Percy
Percy10mo ago
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.
Percy
Percy10mo ago
No project ID was provided. Closing thread.
Want results from more Discord servers?
Add your server