Setting Runnable Directory

How to set the directory in which Stackbit runs when working locally or in a cloud project.

The runnable directory is set differently depending on your working mode.

Local Development

When working locally, the runnable directory is set automatically as the directory from which stackbit dev is run. You can change this using the --dir (alias: -d) option.

  • 1
stackbit dev --dir www

Cloud Project

For cloud projects, the runnable directory is controlled within the Advanced tab in the project settings.

Runnable Directory Setting
Runnable Directory Setting