Skip to content

Commit

Permalink
Project Config info in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Stark committed Feb 6, 2023
1 parent 9de3603 commit 3966222
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,16 @@ The `setup` command creates a configuration file within the Craft `/config` fold

### Automatic migrations

Craft Copy incorporates another package called [Craft auto migrate](https://github.com/fortrabbit/craft-auto-migrate). It makes sure that database migrations will always run when deploying to the fortrabbit App. That means that every time you'll push code via Git, a database migration will be triggered and changes from `project.yml` will be applied right away, without the need to click the apply changes button with the Control Panel.
Craft Copy incorporates another package called [Craft auto migrate](https://github.com/fortrabbit/craft-auto-migrate). It makes sure that database migrations will always run when deploying to the fortrabbit App. That means that every time you'll push code via Git, a database migration will be triggered and changes from `project.yaml` will be applied right away, without the need to click the apply changes button with the Control Panel.

The other way around, when pulling down changes, a database migration will also run. This is configured via a default [after command](#beforeafter-commands) in the [config file](#config-file).

### Project Config

Craft Copy alters the behaviour of the `ProjectConfig` class to prevent Project Config actions in the CP.
By default, we `apply` the potential changes during deployment after composer install.


### Multi staging

At fortrabbit you can set up multiple Apps to create multiple environments for your project. See the [multi-staging help article](https://help.fortrabbit.com/multi-staging).
Expand Down

0 comments on commit 3966222

Please sign in to comment.