Prerequisites
- The Sequin CLI installed locally, setup with contexts for both your local and production environments
Steps
1
Export your configuration
Export your local configuration:Replace
local with the name of your local or development context.This creates a sequin.yaml file you can commit to your repository.Consider having different YAML files for different environments. For example,
sequin.staging.yaml and sequin.production.yaml.Database names often differ between environments (e.g. my_db_dev vs my_db_prod).sequin config export is still early and experimental. See the warnings given when you run the command.2
Apply to production
Apply your configuration to production:Replace
production with the name of your production context.Sequin will show you the changes it will apply to your production environment. If they look good, confirm by entering yes.
