1. Complete package update
Install FastAdmin from the full package downloaded from the official website, and then need to update
2. Use the comparison tool
There are many comparison tools, such as Beyond Compare, diff3 and other tools.
And update the database according to the fastadmin.sql
update log
3. Migrate to Git
Migrate to the Git environment, and then update FastAdmin according to the source code update method. This method will be more troublesome in the early stage, but it will be much more convenient to use Git to manage the code after the migration.
4. Source code update
Update core code
If there is a source code conflict, there will be a prompt, and the conflict will be resolved according to the actual situation
git stash
git pull
git stash pop
5. Update back-end components
composer update -vvv
6. Update front-end components
bower update
7. Update the database
If fastadmin.sql is updated, please compare and modify the database according to the Git update log
8. Clear the cache
php think clear
Post comment 取消回复