Prerequisites

Before starting the installation, you'll need to add authentication credentials for both Hyva and Magento repositories.

Authentication Setup

Due to credentials requirements, you'll need to either:

Example auth.json file:

{
  "http-basic": {
    "hyva-themes.repo.packagist.com": {
      "username": "XX",
      "password": "XX"
    },
    "repo.magento.com": {
      "username": "XX",
      "password": "XX"
    }
  }
}

Replace XX with your actual credentials for both repositories.

Also you need to add your Hyvä Private Packagist key to the Magento root composer.json file:

"repositories": {
    "private-packagist": {
        "type": "composer",
        "url": "ENTER_YOUR_HYVÄ_PRIVATE_PACKAGIST_KEY_HERE"
    }
}

Installation Steps

<aside> 💡

Note: Satoshi uses Create Magento App (CMA), which enables fast and simple installation of Magento environments. CMA is a toolset that simplifies Magento development by automating environment setup and configuration. For more details, see the CMA documentation

</aside>

  1. Clone the Satoshi repository:
git clone [email protected]:scandiweb/satoshi-hyva.git satoshi
  1. Install dependencies and start the application:
cd satoshi
npm install
npm run start

After successful installation this will automatically open Satoshi in your browser.

  1. Build the frontend assets:
cd app/design/frontend/Satoshi/Hyva/web/satoshi
npm install
npm run dev