But everything can run by script on the server, right?
Separation of concerns. The server with the database cluster should probably not be running application code. Application code can be run other machine, “admin” machine is one label. Though for development it shouldn’t matter so long as the application is configurable. Configure it for local during development and when in production it pulls production configuration.
David J.