Add migration alpha-23

This commit is contained in:
Jim LAURIE 2019-02-07 10:40:04 +01:00
parent 50d856ddfa
commit b8045455da
3 changed files with 60 additions and 1 deletions

View File

@ -28,3 +28,4 @@
- [Migration guide from alpha.19 to alpha.20](migration-guide-alpha.19-to-alpha.20.md)
- [Migration guide from alpha.20 to alpha.21](migration-guide-alpha.20-to-alpha.21.md)
- [Migration guide from alpha.21 to alpha.22](migration-guide-alpha.21-to-alpha.22.md)
- [Migration guide from alpha.22 to alpha.23](migration-guide-alpha.22-to-alpha.23.md)

View File

@ -0,0 +1,58 @@
# Migration guide from alpha.22 to alpha.23
**Here are the major changes:**
- Fix send email user register
- Documentation
**Useful links:**
- Changelog: [https://github.com/strapi/strapi/releases/tag/v3.0.0-alpha.23](https://github.com/strapi/strapi/releases/tag/v3.0.0-alpha.23)
- GitHub diff: [https://github.com/strapi/strapi/compare/v3.0.0-alpha.22...v3.0.0-alpha.23](https://github.com/strapi/strapi/compare/v3.0.0-alpha.22...v3.0.0-alpha.23)
<br>
::: note
Feel free to [join us on Slack](http://slack.strapi.io) and ask questions about the migration process.
:::
<br>
## Getting started
Install Strapi `alpha.23` globally on your computer. To do so run `npm install strapi@3.0.0-alpha.23 -g`.
When it's done, generate a new empty project `strapi new myNewProject` (don't pay attention to the database configuration).
<br>
## Update node modules
Update the Strapi's dependencies version (move Strapi's dependencies to `3.0.0-alpha.23` version) of your project.
Run `npm install strapi@3.0.0-alpha.23 --save` to update your strapi version.
<br>
## Update the Admin
::: note
If you performed updates in the Admin, you will have to manually migrate your changes.
:::
Delete your old admin folder and replace it with the new one.
<br>
## Update the Plugins
::: note
If you did a custom update on one of the plugins, you will have to manually migrate your update.
:::
Copy the fields and relations you had in your `/plugins/users-permissions/models/User.settings.json` and `/plugins/users-permissions/config/jwt.json` file in the new one.
Then, delete your old `plugins` folder and replace it with the new one.
<br>
That's all, you have now upgraded to Strapi `alpha.23`.

File diff suppressed because one or more lines are too long