SwissUpLabs Logo

Manual Installation

1. Download archive

Open your account page at the swissuplabs.com and download the archive from the “Downloads” page.

Do not unpack the archive! Just put it into <magento_root>/swissup folder.

2. Install the package

Automatic mode
curl -s https://raw.githubusercontent.com/swissup/scripts/master/install | bash -s - -l 'en_US en_GB'
  1. Unpack downloaded archive into <magento_root>/vendor/swissup/artifacts folder:

    mkdir -p vendor/swissup/artifacts
    unzip swissup.seo-html-sitemap-[version].zip -d vendor/swissup/artifacts
    
  2. Run composer and magento commands:

    composer config repositories.swissupartifacts artifact $(pwd)/vendor/swissup/artifacts
    
    # 0. Get the sources
    composer require swissup/seo-html-sitemap
    
    # 1. Enable new modules
    php bin/magento module:enable Swissup_Core Swissup_SeoCore Swissup_SeoHtmlSitemap
    
    # 2. Run magento upgrade scripts
    php bin/magento setup:upgrade
    
    # 3. Remove outdated files
    rm -rf pub/static/_requirejs var/view_preprocessed pub/static/frontend/ pub/static/adminhtml/ generated/code/
    
    # 4. If you use Production Mode you need to deploy static content and run di:compile command
    php bin/magento setup:static-content:deploy en_US en_GB -f
    php bin/magento setup:di:compile
    

If you want to use old module version that wasn’t released in a new archive format, follow the steps below:

  1. Unpack downloaded archive into <magento_root> folder.
  2. Run the following commands in terminal:

    # 1. Enable new modules
    php bin/magento module:enable Swissup_Core Swissup_SeoCore Swissup_SeoHtmlSitemap
    
    # 2. Run magento upgrade scripts
    php bin/magento setup:upgrade
    
    # 3. Remove outdated files
    rm -rf pub/static/_requirejs var/view_preprocessed pub/static/frontend/ pub/static/adminhtml/ generated/code/
    
    # 4. If you use Production Mode you need to deploy static content and run di:compile command
    php bin/magento setup:static-content:deploy en_US en_GB -f
    php bin/magento setup:di:compile
    

3. Complete the installation

Login your store admin and start to configure extension.

Next up
Edit this Page