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.amp-[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/amp
    
    # 1. Enable new modules
    php bin/magento module:enable Swissup_Core Swissup_Rtl Swissup_EasySlide Swissup_Easycatalogimg Swissup_Amp
    
    # 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
    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:

    composer require marc1706/fast-image-size:1.* leafo/scssphp:0.7.6 mobiledetect/mobiledetectlib:2.8
    
    # 1. Enable new modules
    php bin/magento module:enable Swissup_Core Swissup_Rtl Swissup_EasySlide Swissup_Easycatalogimg Swissup_Amp
    
    # 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
    php bin/magento setup:di:compile
    

3. Setup configuration and content

Proceed to step 3 of Composer Installation Instructions.

Edit this Page