Header background

Updating MartX

Farjanul Nayem

Written by Farjanul Nayem

Last updated

Always back up your database and .env file before updating.

  1. Download the latest version

    Grab the newest package from your Envato Downloads page.

  2. Replace application files

    Upload the new files, excluding your .env file, the storage/ directory, and any custom theme or module changes you've made.

  3. Run migrations

    From your server's terminal, run:

    php artisan migrate --force
    php artisan config:clear
    php artisan view:clear
    php artisan cache:clear
  4. Rebuild frontend assets (only if you customized theme source files)

    npm install
    npm run build