更新 Toppay 至最新版本 Updating Toppay to the Latest Version

請依照以下步驟,將您的 Toppay 安裝從舊版本升級至最新版本,同時保留 storage 資料夾與 .env 設定。
Follow these steps to upgrade your Toppay installation from an older version to the latest release, while keeping your storage folder and .env settings safe.

更新步驟 / Update Steps:

  1. 備份您的 storage 資料夾與 .env 檔案。
    Backup your storage folder and .env file.
    這些包含您的應用資料與設定,請勿覆蓋。
    These contain your app data and configuration—do not overwrite them.

  2. 將專案目錄中所有其他檔案與資料夾以新版本覆蓋。
    Replace all other files and folders in your project directory with the new script files.
    請勿替換 storage 與 .env
    Do not replace storage and .env .

  3. 在專案的終端機中執行以下指令。
    Open your project terminal and run:

php artisan migrate
php artisan db:seed

4.重新整理您的網站並確認所有功能正常運作。
Refresh your site and verify all features are working as expected.

若您在更新過程中遇到任何問題,歡迎在本工單系統提交工單。
If you encounter any issues during the update process, please submit a ticket through our support ticket system.

更新時切勿覆蓋您的 storage 或 .env 檔案,開始前請務必備份您的專案。
Never overwrite your storage or .env files during an update. Always back up your project before starting.