mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Adding reference to reorganise.
This commit is contained in:
parent
04bf73bff3
commit
1448f78a72
@ -114,6 +114,16 @@ cd ~/my-project-root
|
||||
~/.composer/vendor/bin/upgrade-code upgrade ./app/src --write
|
||||
```
|
||||
|
||||
### Switching to new `app/src` structure
|
||||
|
||||
The `reorganise` command can automatically rename the `mysite` and `code` folder for you. It will search your code and find any occurence of `mysite`. It won't replace those occurence with `app` however.
|
||||
|
||||
After installing, run the upgrader reorganise command:
|
||||
```
|
||||
cd ~/my-project-root
|
||||
~/.composer/vendor/bin/upgrade-code reorganise --write
|
||||
```
|
||||
|
||||
## Migrating files
|
||||
|
||||
Since the structure of `File` dataobjects has changed, a new task `MigrateFileTask`
|
||||
|
Loading…
Reference in New Issue
Block a user