Turn Strapi into development mode

saayym
TRIAL

10 months ago

Hello, I'm looking for help, when I want to switch my strapi to development mode (by default it's in prod via the template that's provided), my api isn't happy and keeps displaying ‘Warning: An error occurred while requesting the API’.

It was working in production mode when i did deploy it for the first time, now if i wanna register, it giving me the same everytime

0 Replies

saayym
TRIAL

10 months ago

N/A


10 months ago

you do not want to run Strapi in development mode when on Railway, due to how strapi is designed to be used that will cause data loss.

please read the overview on how to run Strapi in development mode locally.


gitagogaming
FREE

10 months ago

so, does this mean when we want to add content to our strapi instance we have to run a local version instead which will be 'development mode' ?


10 months ago

correct


rubenrunn
HOBBY

8 months ago

Hi! Sorry for bringing this up again. I'm following that for local development and I'm facing an issue running railway run npm run develop and I believe it is because of the internal reference to the database.

I'm not familiarized with railway cli, any suggestions?

1298656397168476200


Turn Strapi into development mode - Railway Help Station