railways icon indicating copy to clipboard operation
railways copied to clipboard

use a custom command to generate routes (for remote/containerized instances)

Open rickgladwin opened this issue 2 years ago • 1 comments

Currently the plugin configuration includes a setting for "Rake task name" (default "routes")

image

Some containerized or custom environments (e.g. where the Rails app is running in a Docker container or remote Kubernetes pod) can't run rake... directly, since the application build exists in the container or remote instance, not on the local/host environment.

Allowing a broader custom command for retrieving the routes (matching whatever command works for the user's development environment) would enable the plugin to work for containerized or custom environments.

e.g. "Routes command" (default "rake routes")

rickgladwin avatar Nov 30 '22 19:11 rickgladwin