# BeikeShop Upgrade Tutorial

For non-developers

1.Go to the official website Download Center (opens new window) to download the latest version of BeikeShop

jpg

jpg

2.Download the latest version and overwrite it to the root directory of the website (the original .env file must be retained)!

3.Note: Before installation, be sure to back up the database and website files to prevent the upgrade from failing and being unable to recover!

4.Then run in the root directory of your websitephp artisan migrate

jpg

For developers

1.Run in the server-side website root directorygit pull

jpg

2.Then execute composer install

jpg

3.Run npm run prod

4.Finally execute php artisan migrate

jpg

# Upgrade Operation Specification

  • Non-Developer Mode: Download the latest full package, decompress and overwrite it to the root directory. Do not delete or overwrite the **.env** file. After overwriting, you must run php artisan migrate in the terminal.
  • Developer Mode: Use git pull to update the code, then execute composer install and npm run prod, and finally synchronize the database migration.

# Composer Self-Update Operation

When upgrading the environment or resolving plugin dependency conflicts, you can run:

composer self-update

Special Note for Windows Users: If you encounter a platform restriction error, please use the following parameters:

composer self-update --ignore-platform-reqs