Can you run both production and development together?

say I ssh into my server and run

tutor local quickstart

now my openedx is running in production, I suppose?

and I now do

tutor dev runserver lms

to run tutor in development, and test some settings…

Is this how this is supposed to work? development and production in the same server at the same time?

Running tutor dev and tutor local commands in parallel will cause the platform to fail. The main reason is that multiple mysql containers will boot up, but only one will have the write lock on the database. This is why you should always stop the local platform with tutor local stop before running tutor dev commands, as indicated in the docs:

Once the local platform has been configured, you should stop it so that it does not interfere with the development environment:

tutor local stop
1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.