Managing environments

Introduction

Environments provide a logical way of ensuring complete separation between different applications. Each team has 3 default environments, development, staging and production. While we have opinionated defaults, you may use the environments however you see fit.

If you are unfamiliar with the architecture of a Codemason application, you can find out more about environments in the application architecture documentation.

Codemason CLI support

By default the Codemason CLI will use the development environment. You may provide an environment with the --environment flag.

$ mason create pebble --environment production

Next steps

Now your app is up and running with separation between development, staging and production, let's take a look at scaling with Codemason.